Enabling web services for users

It is sometimes necessary that users have to access web services directly instead of applications, for example, a developer who needs to execute test runs against the system. The process is a subset of steps already covered in the previous section and follows Users as clients with token section on the web services overview screen:

  1. Select a service.
  2. Add functions.
  3. Check the capability of the users. In addition to the protocol use capabilities, the users have to have the moodle/webservice:createtoken URL allowed.
  4. Test the service.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.200.71