by Nils Klippstein.
Hi,
I followed the instructions how to add the API user with token and everything on my Moodle site.
Now, I wasn't sure how to fill out the form on make.com for the module "http API key auth request":
- For the API Key parameter name in the Credentials, is it correct to leave it on "X-API-Key"? In some forum posts, this is changed to "apikey" or "api_key". Or, should it not be "wstoken", as this is the Moodle parameter that expects the key?
- Anything else to add to the header? Or will make.com use this only for authentification with the credentials?
- And then I add all the fields in "Query String / Add parameter"?
Like...
wsfunction = core_user_create_users
email = 1. data: attributes: Email
(= mapping the fields)
If someone has done this with make.com, it would be nice to see a screenshot or other clarification on these questions.
Thank you!
Nils