how to obtain url for core_course_create_courses

how to obtain url for core_course_create_courses

by juan guardado -
Number of replies: 1

Hi

I'm trying to test an html request for core_course_create_courses function, for example:

https://myurlmoodle/webservice/rest/server.php?wstoken=mytoken&wsfunction=core_course_create_courses&moodlewsrestformat=json&fullname=testcourse&shortname=testcourse&categeoryid=1


but this is the result

{"exception":"invalid_parameter_exception","errorcode":"invalidparameter","message":"Detectado valor de par\u00e1metro no v\u00e1lido"}

somebody could help me? any idea?

Average of ratings: -
In reply to juan guardado

Re: how to obtain url for core_course_create_courses

by Farhan Karmali -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi

I see a typo in your url , categorid ** , thats the reason for the error