Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Connecting make.com to Moodle API

$
0
0
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":

  1. 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?

  2.  Anything else to add to the header? Or will make.com use this only for authentification with the credentials?

  3. 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


Viewing all articles
Browse latest Browse all 2361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>