Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created April 3, 2014 23:33
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/f13a3a87ffcc354e25c4 to your computer and use it in GitHub Desktop.
Save notmyname/f13a3a87ffcc354e25c4 to your computer and use it in GitHub Desktop.
$ curl -v -H "X-Auth-Token: AUTH_tk1637686de9394ff781f4a3b5e5023428" http://saio:8080/v1/AUTH_test/c/empty -H "Content-Length: 0" -XPUT
* Adding handle: conn: 0x7ffd41004400
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7ffd41004400) send_pipe: 1, recv_pipe: 0
* About to connect() to saio port 8080 (#0)
* Trying 192.168.56.2...
* Connected to saio (192.168.56.2) port 8080 (#0)
> PUT /v1/AUTH_test/c/empty HTTP/1.1
> User-Agent: curl/7.30.0
> Host: saio:8080
> Accept: */*
> X-Auth-Token: AUTH_tk1637686de9394ff781f4a3b5e5023428
> Content-Length: 0
>
< HTTP/1.1 201 Created
< Last-Modified: Thu, 03 Apr 2014 23:32:56 GMT
< Content-Length: 0
< Etag: d41d8cd98f00b204e9800998ecf8427e
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: tx179b1b2d923f4792bd584-00533defa7
< Date: Thu, 03 Apr 2014 23:32:56 GMT
<
* Connection #0 to host saio left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment