Fix instructions in README.rst file

The current test commands as shown in the README.rst file does not
work. The 'curl' command requires additional headers that are not
mentioned in the README.rst file.  This patch provides a working
command sequence to fix it.

Change-Id: Ic5a684bb77cc118879d2d710ed08df6563ad00ab
Closes-Bug: 1349568
This commit is contained in:
tengqm 2015-04-02 04:15:32 -04:00
parent 3dce426e0c
commit 559a27759c
1 changed files with 5 additions and 2 deletions

View File

@ -71,8 +71,11 @@ sudo yum install gcc python-pip libxml2 libxml2-devel libxslt libxslt-devel
9. Test out that Zaqar is working by creating a queue::
$ curl -i -X PUT http://127.0.0.1:8888/v1.1/queues/samplequeue -H
"Content-type: application/json"
$ ZQ_CLIENT_ID=`uuidgen`
$ curl -i -X PUT http://127.0.0.1:8888/v1.1/queues/samplequeue \
-H "Content-type: application/json" \
-H "Client-ID: $ZQ_CLIENT_ID" \
-H "X-PROJECT-ID: default"
You should get an **HTTP 201** along with some headers that will look
similar to this::