Web services in Moodle
First of all, you have to activate web services, which can be accessed by navigating to Advanced features | Enable web services. Second, you have to enable the Web services authentication plugin (Plugins | Authentication | Manage authentication). Once this has been done, go to Plugins | Web services | Overview, which acts as a dashboard to set up Moodle web services.
Tip
A word of warning: Enabling web services comes with a potential security risk as you are granting access to Moodle to outside users and systems. The mantra should always be to open up as few services and functions as possible.
Moodle supports three ways of how external entities can connect via web services:
- Enable web services for mobile devices (we will be dealing with this later)
- Allow an external systems to control Moodle
- Users as clients with token
Two checklists are shown, one for each approach. The following screenshot shows the list for external systems—the one for token-based clients is, with...