Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created May 30, 2014 00:16
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/2b2b1e7c361a729927b4 to your computer and use it in GitHub Desktop.
Save notmyname/2b2b1e7c361a729927b4 to your computer and use it in GitHub Desktop.
ohn@europa:~$ curl -i -H "X-Auth-Token: AUTH_tkb23c0b7ab7b445ba9763ca4f9593f938" http://saio:8080/v1/AUTH_test/c/o --data-binary 1234 -H "X-Object-Meta-foo_bar: bax" -XPUT
HTTP/1.1 201 Created
Last-Modified: Fri, 30 May 2014 00:15:50 GMT
Content-Length: 0
Etag: 81dc9bdb52d04dc20036dbd8313ed055
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx90a581226de74b5aa98e8-005387cdb5
Date: Fri, 30 May 2014 00:15:49 GMT
john@europa:~$
john@europa:~$
john@europa:~$ curl -i -H "X-Auth-Token: AUTH_tkb23c0b7ab7b445ba9763ca4f9593f938" http://saio:8080/v1/AUTH_test/c/o
HTTP/1.1 200 OK
Content-Length: 4
X-Object-Meta-Foo-Bar: bax
Accept-Ranges: bytes
Last-Modified: Fri, 30 May 2014 00:15:50 GMT
Etag: 81dc9bdb52d04dc20036dbd8313ed055
X-Timestamp: 1401408949.85260
Content-Type: application/x-www-form-urlencoded
X-Trans-Id: txfb6f975d61d5432cafa64-005387cdba
Date: Fri, 30 May 2014 00:15:54 GMT
1234john@europa:~$
john@europa:~$
john@europa:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment