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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user