Comparison

mod_rest/README.md @ 6245:ea58d2893afb

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
child 6272:ed6fa901cf94
comparison
equal deleted inserted replaced
6232:d72010642b31 6245:ea58d2893afb
61 ``` 61 ```
62 62
63 and lastly, drop the "@host" from the username in your http queries, EG: 63 and lastly, drop the "@host" from the username in your http queries, EG:
64 64
65 ```lua 65 ```lua
66 curl \ 66 curl -sf \
67 https://chat.example.com:5281/rest/version/chat.example.com \ 67 -H 'Accept: application/json' \
68 -k \
69 --user admin \ 68 --user admin \
70 -H 'Accept: application/json' 69 https://chat.example.com:5281/rest/version/chat.example.com
71 ``` 70 ```
72 71
73 ## OAuth2 72 ## OAuth2
74 73
75 [mod_http_oauth2] can be used to grant bearer tokens which are accepted 74 [mod_http_oauth2] can be used to grant bearer tokens which are accepted