From e59cfa07dc319fb256d92a78c26c0142a0bc11e6 Mon Sep 17 00:00:00 2001 From: Marek Denis Date: Fri, 25 Jul 2014 16:49:06 +0200 Subject: [PATCH] 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 --- doc/source/configure_federation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/configure_federation.rst b/doc/source/configure_federation.rst index 12526f8c53..45b0bac928 100644 --- a/doc/source/configure_federation.rst +++ b/doc/source/configure_federation.rst @@ -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: " 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: " http://localhost:5000/v3/OS-FEDERATION/domains Get a scoped token ~~~~~~~~~~~~~~~~~~