--- a/mod_rest/README.markdown Sun Feb 28 19:25:45 2021 +0100
+++ b/mod_rest/README.markdown Sun Feb 28 19:33:09 2021 +0100
@@ -101,6 +101,23 @@
entities (connected clients or remote servers) will not be returned, but
can be forwarded via the callback API described in the next section.
+### Simple info queries
+
+A subset of IQ stanzas can be sent as simple GET requests
+
+```
+curl https://prosody.example:5281/rest/version/example.com \
+ --oauth2-bearer dmVyeSBzZWNyZXQgdG9rZW4K \
+ -H 'Accept: application/json'
+```
+
+The supported queries are
+
+- `disco`
+- `items`
+- `version`
+- `ping`
+
## Receiving stanzas
TL;DR: Set this webhook callback URL, get XML `POST`-ed there.