To generate an astrological report from the AstroAPI, the system (your implementation) makes a request to the /api/auth endpoint with username and password. On correct authentication you'll
receive an accessToken.
POST /api/auth
| Header | Value |
|---|---|
| Accept-Encoding | application/json |
| Content-Type | application/json |
{
"email": "[EMAIL ADDRESS]",
"password": "[PASSWORD]"
}
{
"user": "matthias.vanooteghem@gmail.com",
"accessToken": "6|v3eCVr4i3ZSg481gzSYSBqvxvuP6pf37B26FnRDm"
}
| Header | Value |
|---|---|
| Accept-Encoding | application/json |
| Content-Type | application/json |
| Authorization | Bearer [accessToken] |