Commit 681f4f7b authored by Michele Tartara's avatar Michele Tartara
Browse files

More info on using the RAPI

Add some additional information about how to use/test the RAPI,
including how to specify authentication credentials.
Signed-off-by: default avatarMichele Tartara <>
Reviewed-by: default avatarHelga Velroyen <>
parent 2cbcf95d
......@@ -91,6 +91,11 @@ Example::
# write access)
superuser {HA1}ec018ffe72b8e75bb4d508ed5b6d079c read,write
When using the RAPI, username and password can be sent to the server
by using the standard HTTP basic access authentication. This means that
for accessing the protected URL ````,
the address ```` should
be used instead.
.. [#pwhash] Using the MD5 hash of username, realm and password is
described in :rfc:`2617` ("HTTP Authentication"), sections
......@@ -285,14 +290,16 @@ Shell
.. highlight:: shell-example
Using wget::
Using ``wget``::
$ wget -q -O - https://%CLUSTERNAME%:5080/2/info
or curl::
or ``curl``::
$ curl https://%CLUSTERNAME%:5080/2/info
Note: with ``curl``, the request method (GET, POST, PUT) can be specified
using the ``-X`` command line option.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment