Hi,
I would like to get postman collection for all of the moodle rest APIs -
https://docs.moodle.org/dev/Web_service_API_functions
https://moodle.org/plugins/webservice_restful
Hi Haris,
Were you able to get the postman collection for the APIs?
I am also looking for this.
Me too I am looking for a Postman collection.
Me too! If not, I'll likely start my own as part of my 2023 NYE resolution.
Hi
I am building a Moodle tool and using my own postman collection available at https://github.com/ildemartinez/LMS-Explorer
Hope helps... just few calls but growing as needed .... If you need one just tell me
All the best
ilde
Hello All,
For Postman, use POST with the following settings:
For Postman, use POST with the following settings:
- Params: blank
- Authentication: No Auth
- Body: form-data
Note: I have been using the JSON protocol, and the only body type that seems to work is form-data.
In the body, setup the following keys:
- wstoken
- wsfunction
- moodlewsrestformat
Then depending on the function being called you will need to add your data. Check the data required and the format in the webservice documentation. your_domain/admin/webservice/documentation.php
Hope this helps.
Regards,
Ron