Authenticating through REST and JSON
We can also use JSON to achieve the same results. First, we need to log in.
How to do it...
- Change the URL to
https://192.168.1.205/api/aaaLogin.json
. - Use the following code:
{ "aaaUser" : { "attributes" : { "name" : "admin" "pwd" : "admin123" } } }
- Press
Send
.

How it works...
You should get a response of 200 OK
. In the results pane, you'll see something like this:
