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 sub-set of steps already covered in the previous section, and follows the Users as clients with token section on the web services Overview screen:
1. Select a service.
2. Add functions.
3. Check users capability: In addition to the protocol use capabilities, the users have to have moodle/webservice:createtoken allowed.
4. Test the service.