General developer forum

Moodle Web services?

 
Picture of James Jephcott
Moodle Web services?
 

I would like to understand how I can have javascript in a browser on a moodle page call a web service as the current logged in user to return some information.

For example I would like to have javascript call a Moodle webservice to get a list of assessment activities and due dates from a Moodle Course page.


From what I have read about the Moodle Web services so far they seem to be only able to communicate server to server, and not browser to server. 

Can anyone give me any more information about this?



 
Average of ratings: -
Davo
Re: Moodle Web services?
Core developersParticularly helpful MoodlersPlugin developers

James - take a quick look at the Moodle AJAX docs: https://docs.moodle.org/dev/AJAX

If you still have questions, feel free to post here further.

 
Average of ratings: -