插件Web 服务稳定版

RESTful protocol

webservice_restfulCatalyst IT

  • Moodle 4.2–4.5
  • 更新 2025-05-28

A REStful webservice plugin for Moodle LMS
This plugin allows Moodle’s webservice interface to operate in a more RESTFul way.
Instead of each webservice call having a URL query parameter define what webservice function to use, webservice functions are made available by discrete URLs.
A RESTful webservice plugin for Moodle LMS
This plugin allows Moodle’s webservice interface to operate in a more RESTFul way.
Instead of each webservice call having a URL query parameter define what
webservice function to use, webservice functions are made available by
discrete URLS.
This makes it easier to integrate Moodle with modern interfaces that expect a RESTful interface from other systems.
This plugin also supports sending requests to Moodle webservices using the JSON format.
Finally, by default all Moodle webservice requests return the HTTP
status code of 200 regardless of the success or failure of the call.
This plugin will return 4XX series status codes if calls are malformed,
missing data or unauthorised. This allows external services
communicating with Moodle to determine the success or failure of a
webservice call without the need to parse the body of the response.
Why make this Plugin?
There were two related reasons for making this plugin. The first was
to solve a technical problem; interfacing Moodle to a service that
required each Moodle webservice to be callable from a unique URL. The

返回插件目录