Hi,
splitbrain opened a new pull request at
https://github.com/dokuwiki/dokuwiki/pull/3961:
XMLRPC is a rather outdated and old-fashioned protocol not much in use anymore.
Developers prefer simpler, JSON based APIs.
This adds a new "JSONRPC" API. Basically it exposes exactly the same method
calls as the XMLRPC API but using JSON instead of XML. It's not a classical
REST API, but should be just as easy to use for developers.
Here is an example call using CURL:
curl http://localhost/dokuwiki/lib/exe/jsonrpc.php \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $token" \
-d '["wiki"]'
Please note that the above uses the token auth implemented in #2432.
Authentication via basic auth or cookies would work as well.
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
2a6e7b80-e4c4-11ed-82ad-4d24ebb2f796
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist