Add missing /a/ in REST API testing example

In one of the examples of testing an authenticated REST API, the
URL did not include `/a/`.

Change-Id: I2ef3504fd9ca03155034910fc3892173a820e558
This commit is contained in:
David Pursehouse
2013-05-17 17:57:41 +09:00
parent fec1537a56
commit 493067439d

View File

@@ -176,7 +176,7 @@ To test APIs that require authentication, the username and password must be spec
the command line:
----
curl --digest --user username:password http://localhost:8080/path/to/api
curl --digest --user username:password http://localhost:8080/a/path/to/api/
----
This makes it easy to switch users for testing of permissions.