Update API Key cURL to reflect correct URL (#18376)

This commit is contained in:
Miguel Sánchez Villafán 2021-07-05 04:24:15 -05:00 committed by GitHub
parent 27832b0ade
commit dca907aca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ If you want to add your devices manually (like in the example below) then you ne
```bash ```bash
$ curl -X POST -H "Content-Type: application/json" \ $ curl -X POST -H "Content-Type: application/json" \
-d '{"email": "fakename@example.com", "password": "password"}' \ -d '{"email": "fakename@example.com", "password": "password"}' \
https://admin.avi-on.com/api/sessions | jq https://api.avi-on.com/sessions | jq
``` ```
with the email and password fields replaced with those used when registering the device via the mobile app. The pass phrase field of the output should be used as the API key in the configuration. with the email and password fields replaced with those used when registering the device via the mobile app. The pass phrase field of the output should be used as the API key in the configuration.