by Ahmet Güneş.
Hi Nicola
i am using email as a parameter
curl -H "Content-Type: application/json" --request POST --data "{"email:deneme@deneme.com"}"http://mymoodle.com/moodle/webservice/rest/server.php?wstoken=mytoken&wsfunction=auth_userkey_request_login_url&moodlewsrestformat=json
and this is my curl command and i think the problem is "&" operator because i tried to give the wsfunction first but this time debug info says missing token or this code is completely wrong
i am using email as a parameter
curl -H "Content-Type: application/json" --request POST --data "{"email:deneme@deneme.com"}"http://mymoodle.com/moodle/webservice/rest/server.php?wstoken=mytoken&wsfunction=auth_userkey_request_login_url&moodlewsrestformat=json
and this is my curl command and i think the problem is "&" operator because i tried to give the wsfunction first but this time debug info says missing token or this code is completely wrong