I have been looking for a solution to enable an external system to send registration details to Moodle via a secure URL.
I have set up a REST web service in Moodle where the function core_user_create_users has been added. It has passed the test in the test client within Moodle. Then I'm unsure about the next step. Would the URL be something like this? - http://email@example.com
I suppose I need to set up the client. Jerome has posted examples of the client: https://github.com/moodlehq/sample-ws-clients/tree/master/PHP-REST
What is the next step after updating relevant information in those two files such as token and domain name? What is the syntax to use in the URL?
I suppose it would be something like http://firstname.lastname@example.org , but this resulted in EXCEPTION error.
Could anyone help with this please? Thanks!