Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created October 11, 2014 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/b4af9ae752041ced1f60 to your computer and use it in GitHub Desktop.
Save notmyname/b4af9ae752041ced1f60 to your computer and use it in GitHub Desktop.
john@europa:~$ testtoken | pbcopy
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" 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: 1413047304.87729
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
X-Put-Timestamp: 1413047304.87729
Content-Length: 0
X-Trans-Id: tx1699dd1861364964bdc07-0054396408
Date: Sat, 11 Oct 2014 17:08:24 GMT
john@europa:~$
john@europa:~$
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" 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: tx2388b37772ab4be382a6e-005439640b
Date: Sat, 11 Oct 2014 17:08:28 GMT
john@europa:~$
john@europa:~$
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" http://saio:8080/v1/AUTH_test/c/o --data-binary 1234 -XPUT
HTTP/1.1 201 Created
Last-Modified: Sat, 11 Oct 2014 17:08:37 GMT
Content-Length: 0
Etag: 81dc9bdb52d04dc20036dbd8313ed055
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx9db7fccc79f746cf96c3b-0054396414
Date: Sat, 11 Oct 2014 17:08:36 GMT
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" http://saio:8080/v1/AUTH_test/c
HTTP/1.1 200 OK
Content-Length: 2
X-Container-Object-Count: 1
Accept-Ranges: bytes
X-Storage-Policy: Policy-0
X-Container-Bytes-Used: 4
X-Timestamp: 1413047308.04551
Content-Type: text/plain; charset=utf-8
X-Trans-Id: tx8959feb5b0e449bca4170-0054396434
Date: Sat, 11 Oct 2014 17:09:08 GMT
o
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" http://saio:8080/v1/AUTH_test/c/o
HTTP/1.1 200 OK
Content-Length: 4
Accept-Ranges: bytes
Last-Modified: Sat, 11 Oct 2014 17:08:37 GMT
Etag: 81dc9bdb52d04dc20036dbd8313ed055
X-Timestamp: 1413047316.17523
Content-Type: application/x-www-form-urlencoded
X-Trans-Id: tx564bcc8e247246c5827f4-0054396442
Date: Sat, 11 Oct 2014 17:09:22 GMT
1234
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tk7e5aa05e998741f8b3ef86856d181961" http://saio:8080/v1/AUTH_test/
HTTP/1.1 200 OK
Content-Length: 2
X-Account-Object-Count: 1
X-Account-Storage-Policy-Policy-0-Bytes-Used: 4
X-Account-Storage-Policy-Policy-0-Container-Count: 1
X-Timestamp: 1413047307.98451
X-Account-Storage-Policy-Policy-0-Object-Count: 1
X-Account-Bytes-Used: 4
X-Account-Container-Count: 1
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes
X-Trans-Id: tx414395ace58941259f6d5-0054396dd1
Date: Sat, 11 Oct 2014 17:50:09 GMT
c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment