Skip to content

Instantly share code, notes, and snippets.

@tamizhgeek
Created August 1, 2015 09:53
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 tamizhgeek/bb876c7267d668310faa to your computer and use it in GitHub Desktop.
Save tamizhgeek/bb876c7267d668310faa to your computer and use it in GitHub Desktop.
curl -H 'x-auth-token: AUTH_tk8830063c201c4bf7bd60b1dcce7b0f04' -H 'accept: application/json' http://127.0.0.1:8080/v1/AUTH_test/test/monkies -XPUT -v
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> PUT /v1/AUTH_test/test/monkies HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 127.0.0.1:8080
> x-auth-token: AUTH_tk8830063c201c4bf7bd60b1dcce7b0f04
> accept: application/json
>
< HTTP/1.1 404 Not Found
< Content-Length: 88
< Content-Type: application/json
< X-Trans-Id: txd1491959859c448288368-0055bbb2c0
< Date: Fri, 31 Jul 2015 17:39:12 GMT
<
* Connection #0 to host 127.0.0.1 left intact
{"status": 404, "description": "The resource could not be found.", "title": "Not Found"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment