Add example call in Curl to mod_rest
This commit is contained in:
parent
d1066f6644
commit
bae1cdc52e
|
@ -202,6 +202,16 @@ If you configure access_commands option, you must provide the credentials like t
|
||||||
wget http://localhost:5285/rest/ --server-response --post-data '--auth user1 localhost thepass registered_users localhost'
|
wget http://localhost:5285/rest/ --server-response --post-data '--auth user1 localhost thepass registered_users localhost'
|
||||||
|
|
||||||
|
|
||||||
|
EXAMPLE COMMAND WITH CURL
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Example call with Curl:
|
||||||
|
curl -X POST -i http://localhost:5285/rest/ -d 'create_room testroom muc.localhost localhost'
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
Content-Type: text/html; charset=utf-8
|
||||||
|
Content-Length: 1
|
||||||
|
|
||||||
|
|
||||||
EXAMPLE CALL WITH PYTHON
|
EXAMPLE CALL WITH PYTHON
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue