Software /
code /
prosody-modules
Diff
mod_rest/README.md @ 6245:ea58d2893afb draft default tip
Merge update
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 29 Apr 2025 23:27:06 +0700 |
parent | 6236:5ab0e560027a |
line wrap: on
line diff
--- a/mod_rest/README.md Fri Apr 11 23:19:21 2025 +0700 +++ b/mod_rest/README.md Tue Apr 29 23:27:06 2025 +0700 @@ -63,11 +63,10 @@ and lastly, drop the "@host" from the username in your http queries, EG: ```lua -curl \ - https://chat.example.com:5281/rest/version/chat.example.com \ - -k \ +curl -sf \ + -H 'Accept: application/json' \ --user admin \ - -H 'Accept: application/json' + https://chat.example.com:5281/rest/version/chat.example.com ``` ## OAuth2