Show how to verify response headers in REST API test documentation

Change-Id: I2405fe8bdcbc352276296dcaeb8ed1c20e8fece3
This commit is contained in:
David Pursehouse
2013-05-17 18:03:40 +09:00
parent b27dd0ca07
commit 69d234085f

View File

@@ -191,6 +191,14 @@ file (on Windows, `_netrc`):
In both cases, the password should be the user's link:user-upload.html#http[HTTP password].
To verify the headers returned from a REST API call, use `curl` in verbose mode:
----
curl -v -n --digest -X DELETE http://localhost:8080/a/path/to/api/
----
The headers on both the request and the response will be printed.
Release Builds
--------------