-
-
Save notmyname/a63de6ce99d6f1df857b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i -H "X-Auth-Token: AUTH_tk8bc23d957cdc489b83ee02a5b526a681" http://saio:8080/v1/AUTH_test/ | |
HTTP/1.1 204 No Content | |
Content-Type: text/plain; charset=utf-8 | |
X-Account-Object-Count: 0 | |
X-Timestamp: 1433535265.00726 | |
X-Account-Bytes-Used: 0 | |
X-Account-Container-Count: 0 | |
X-Put-Timestamp: 1433535265.00726 | |
Content-Length: 0 | |
X-Trans-Id: tx4084c7f05e4f4340a18c6-0055720320 | |
Date: Fri, 05 Jun 2015 20:14:25 GMT | |
$ curl -i -H "X-Auth-Token: AUTH_tk8bc23d957cdc489b83ee02a5b526a681" http://saio:8080/v1/AUTH_test/c -XPUT | |
HTTP/1.1 201 Created | |
Content-Length: 0 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txa6470b4a6d6f40b38b01f-0055720325 | |
Date: Fri, 05 Jun 2015 20:14:29 GMT | |
$ curl -i -H "X-Auth-Token: AUTH_tk8bc23d957cdc489b83ee02a5b526a681" http://saio:8080/v1/AUTH_test/c/o --data-binary 1234 -H "If-None-Match: *" -XPUT | |
HTTP/1.1 201 Created | |
Last-Modified: Fri, 05 Jun 2015 20:14:43 GMT | |
Content-Length: 0 | |
Etag: 81dc9bdb52d04dc20036dbd8313ed055 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txf7b30ab7091c421481a0f-0055720332 | |
Date: Fri, 05 Jun 2015 20:14:42 GMT | |
$ | |
$ curl -i -H "X-Auth-Token: AUTH_tk8bc23d957cdc489b83ee02a5b526a681" http://saio:8080/v1/AUTH_test/c/o --data-binary 5678 -H "If-None-Match: *" -XPUT | |
HTTP/1.1 412 Precondition Failed | |
Content-Length: 92 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txf7bed2418acd4ab09e2fb-0055720339 | |
Date: Fri, 05 Jun 2015 20:14:49 GMT | |
<html><h1>Precondition Failed</h1><p>A precondition for this request was not met.</p></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment