Skip to content

Instantly share code, notes, and snippets.

@tamizhgeek
Created August 1, 2015 08:10
Show Gist options
  • Save tamizhgeek/8932641245299cab9b1c to your computer and use it in GitHub Desktop.
Save tamizhgeek/8932641245299cab9b1c to your computer and use it in GitHub Desktop.
tamizhgeek@pettai:/var/log/swift$ curl -v -X DELETE -H 'X-Auth-Token: AUTH_tk8830063c201c4bf7bd60b1dcce7b0f04' -H "Accept: application/json" http://127.0.0.1:8080/v1/AUTH_test/dummy/nonexistent
* 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)
> DELETE /v1/AUTH_test/dummy/nonexistent 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: tx925fc53d884e4631ac9e1-0055bb9a87
< Date: Fri, 31 Jul 2015 15:55:51 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