consistency and wording

pull/370/head
Sascha Rommelfangen 2019-07-30 14:15:01 +02:00 committed by GitHub
parent 44cf5bb4af
commit 0e6f337e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -4,12 +4,12 @@
### Automation key
The authentication of the automation is performed via a secure key available in the AIL UI interface. Make sure you keep that key secret as it gives access to the entire database! The API key is available in the ``Server Management`` menu under ``My Profile``.
The authentication of the automation is performed via a secure key available in the AIL UI interface. Make sure you keep that key secret. It gives access to the entire database! The API key is available in the ``Server Management`` menu under ``My Profile``.
The authorization is performed by using the following header:
~~~~
Authorization: YOUR API KEY
Authorization: YOUR_API_KEY
~~~~
### Accept and Content-Type headers
@ -22,7 +22,7 @@ Content-Type: application/json
Example:
~~~~
curl --header "Authorization: YOUR API KEY" --header "Content-Type: application/json" https://<AIL URL>/
curl --header "Authorization: YOUR_API_KEY" --header "Content-Type: application/json" https://AIL_URL/
~~~~
## Item management