Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Add instructions for API Authorization (#1406)

Thomas Kaulffb11cd10e01
diff --git a/README.md b/README.md
index 3343ca7b82..c9237a7657 100644
--- a/README.md
+++ b/README.md
@@ -190,20 +190,22 @@ Run `yarn test`
## Public API
-### Import Activities
-
-#### Request
+### Authorization: Bearer Token
-`POST http://localhost:3333/api/v1/import`
-
-#### Authorization: Bearer Token
-
-Set the header as follows:
+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/<INSERT_SECURITY_TOKEN_OF_ACCOUNT>` or `curl -s http://localhost:3333/api/v1/auth/anonymous/<INSERT_SECURITY_TOKEN_OF_ACCOUNT>`.
+
+### Import Activities
+
+#### Request
+
+`POST http://localhost:3333/api/v1/import`
+
#### Body
```