Dóna l'error quan intentem comunicar-nos amb el plugin a través de Curl a la següent url:
http://agora.xtec.cat/iesmont-perdut/moodle/webservice/rest/server.php
Els paràmetres que li passem son els següents:
moodlewsrestformat=json&wstoken={token}&wsfunction={returnFunc}&idnumber={id}
I ens retorna lo següent:
Resource id #296
Moved Permanently
The document has moved here.
Apache Server at agora.xtec.cat Port 80
Hola Sina,
Prova de posar l'URL amb https:
https://agora.xtec.cat/iesmont-perdut/moodle/webservice/rest/server.php
Salutacions,
Toni Ginard
Equip Àgora