Skip to content

Instantly share code, notes, and snippets.

@clayg
Created March 26, 2014 03:52
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 clayg/9776706 to your computer and use it in GitHub Desktop.
Save clayg/9776706 to your computer and use it in GitHub Desktop.
vagrant@saio:~$ curl -s -H 'x-auth-token: AUTH_tka9a6cfc5c7fb4a659070095f460906c3' http://saio:8080/v1/AUTH_test -I -XHEAD | grep -i meta
X-Account-Meta-Foo: bar
# send x-remove-account-meta-foo and also x-account-meta-test
vagrant@saio:~$ curl -H 'x-auth-token: AUTH_tka9a6cfc5c7fb4a659070095f460906c3' http://saio:8080/v1/AUTH_test -I -XPOST -H 'x-remove-account-meta-foo: bar' -H 'x-account-meta-test: value'
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx385fddb242044c6392129-0053324e74
Date: Wed, 26 Mar 2014 03:50:12 GMT
vagrant@saio:~$ curl -s -H 'x-auth-token: AUTH_tka9a6cfc5c7fb4a659070095f460906c3' http://saio:8080/v1/AUTH_test -I -XHEAD | grep -i meta
X-Account-Meta-Test: value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment