diff --git a/README.md b/README.md index 3343ca7b..c9237a76 100644 --- a/README.md +++ b/README.md @@ -190,20 +190,22 @@ Run `yarn test` ## Public API +### Authorization: Bearer Token + +Set the header for each request as follows: + +``` +"Authorization": "Bearer eyJh..." +``` + +You can get the _Bearer Token_ via `GET http://localhost:3333/api/v1/auth/anonymous/` or `curl -s http://localhost:3333/api/v1/auth/anonymous/`. + ### Import Activities #### Request `POST http://localhost:3333/api/v1/import` -#### Authorization: Bearer Token - -Set the header as follows: - -``` -"Authorization": "Bearer eyJh..." -``` - #### Body ```