Skip to content

Instantly share code, notes, and snippets.

@tamizhgeek
Created August 1, 2015 06:43
Show Gist options
  • Save tamizhgeek/d509dbff10c9dbb52848 to your computer and use it in GitHub Desktop.
Save tamizhgeek/d509dbff10c9dbb52848 to your computer and use it in GitHub Desktop.
tamizhgeek@pettai:~/swift$ curl -X DELETE -H 'X-Auth-Token: AUTH_tk8830063c201c4bf7bd60b1dcce7b0f04' http://127.0.0.1:8080/v1/AUTH_test/dummy/notexisting
tamizhgeek@pettai:~/swift$ <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
--------------------
tamizhgeek@pettai:~/swift$ curl -X DELETE -H 'X-Auth-Token: AUTH_tk8830063c201c4bf7bd60b1dcce7b0f04' -H "Accept: application/json" http://127.0.0.1:8080/v1/AUTH_test/dummy/nonexistent
tamizhgeek@pettai:~/swift$ {"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