Option | Description |
---|---|
-d |
Sends the specified data in a
POST request to the HTTP
server. |
-i |
Includes the HTTP header in the output. |
-H HEADER |
Specifies an HTTP header in the request. |
-X |
Specifies the request method to use when
communicating with the HTTP server. The
specified request is used instead of the
default method, which is GET. For example,
-X PUT specifies to use
the PUT request method. |
X-Auth-Token
header.Header | Description |
---|---|
Host | Host name of the API |
Date | Current date and time |
Accept | Media type to use. Initially, only
application/json is
supported. Accept header is
required. |
Accept-Encoding | Specifies that the agent accepts gzip-encoded response bodies |
Content-Type | application/json |
Content-Length | For |
X-Auth-Token | Authorization token |
X-Project-Id | An ID for a project to which the value of X-Auth-Token grants access. Queues are created under this project. The project ID is the same as the account ID (also sometimes called tenant ID). |
Client-ID | A UUID for each client instance. The UUID must
be submitted in its canonical form (for
example,
3381af92-2b9e-11e3-b191-71861300734c). The
client generates the Client-ID once. Client-ID
persists between restarts of the client so the
client should reuse that same Client-ID.
Client-ID in the headers
to ensure that messages are not echoed
back to the client that posted them,
unless the client explicitly requests
this. |
body
field
values as it was earlier releases). On
error, the client is notified of by how
much the request exceeded the
limit.204 No Content
response
code.