Add X-Auth-Token header in federation examples

cURL examples depicting fetching accessible projects and domains upon
successfull retrieving federated unscoped token should also include
``X-Auth-Token`` header.
This patch adds headers to the examples.

Change-Id: I463e34511b8f9b19012fce955f04a0269d5de9cd
Closes-Bug: #1348680
This commit is contained in:
Marek Denis 2014-07-25 16:49:06 +02:00
parent 2d3d00e29c
commit e59cfa07dc

View File

@ -254,13 +254,13 @@ Example cURL
.. code-block:: bash
$ curl -X GET http://localhost:5000/v3/OS-FEDERATION/projects
$ curl -X GET -H "X-Auth-Token: <unscoped token>" http://localhost:5000/v3/OS-FEDERATION/projects
or
.. code-block:: bash
$ curl -X GET http://localhost:5000/v3/OS-FEDERATION/domains
$ curl -X GET -H "X-Auth-Token: <unscoped token>" http://localhost:5000/v3/OS-FEDERATION/domains
Get a scoped token
~~~~~~~~~~~~~~~~~~