by Nico L..
Hi, I am testing web services using a moodle core web service, core_course_get_courses. I think this web service returns all courses from Moodle, but I only get data from a course when I fix a ID course.
I am using the next code, in REST,
options[ids][0]=""
but I get the next error message,
Invalid external api parameter: the server was expecting int type
When I fix a id course, for example,
options[ids][0]="4"
I get the data from course 4, but I dont' know how to use this web service to get all courses list.
Please, can somebody to help me?
Thanks in advance.