@@ -23,19 +23,30 @@ Q: How do I get an Access Token?
A: Using a Browser, Login via the web interface once.
Then, after successful login, use the Browser's developer tools (F11 or CTRL+Shift+I) to find the value of the `Authorization` HTTP-header for your login request.
This will look like this:
Then, after successful login, use the Browser's developer tools (F11 or CTRL+Shift+I) to find the value of the `Authorization` HTTP-header for your login request.
To use the scripts you must get a [Bearer token](https://data.icdp-online.org/mdis-docs/guide/rest-api/#security) for the REST API first. Add it either as an environment variable (`export token=thiSisWHatAtOKENlooKSLikE`), or insert it at the top of the `src/config` file.
Example.
#### Example
Response for a user that has an expired token, and not enough privileges to add new data.