Skip to content

Instantly share code, notes, and snippets.

@pandemicsyn
Created December 6, 2012 00:36
Show Gist options
  • Select an option

  • Save pandemicsyn/4220892 to your computer and use it in GitHub Desktop.

Select an option

Save pandemicsyn/4220892 to your computer and use it in GitHub Desktop.
fhines@ubuntu:~/swift (review/david_goetz/detar)$ curl -v -X PUT -T /tmp/etc.tar.gz -H 'X-Auth-Token: AUTH_tk70b9b52ffc804ede85057bc3df0675e1' -H 'X-Extract-Archive: monkey.zip' http://127.0.0.1:8080/v1/AUTH_test/testit; echo
* About to connect() to 127.0.0.1 port 8080 (#0)
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> PUT /v1/AUTH_test/testit HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
> Host: 127.0.0.1:8080
> Accept: */*
> X-Auth-Token: AUTH_tk70b9b52ffc804ede85057bc3df0675e1
> X-Extract-Archive: monkey.zip
> Content-Length: 8196
> Expect: 100-continue
>
< HTTP/1.1 201 Created
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: txd29f73c423c544ca8ae711500560286c
< Date: Thu, 06 Dec 2012 00:35:18 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment