Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Migrate to Authorization Bearer Scheme source code.tar.gz | 2020-04-11 | 374.1 kB | |
Migrate to Authorization Bearer Scheme source code.zip | 2020-04-11 | 413.8 kB | |
README.md | 2020-04-11 | 644 Bytes | |
Totals: 3 Items | 788.5 kB | 0 |
- The headers for the protected APIs has been migrated to the standard
Authorization
header with theBearer
scheme. x-user-id
header has been removed.
Earlier:
:::json
GET /v1/profile/my
// Headers
x-api-key: GCMUDiuY5a7WvyUNt9n3QztToSHzK7Uj
Content-Type: application/json
x-access-token: <your_token_received_from_signup_or_login>
x-user-id: <your_user_id>
Now:
:::json
GET /v1/profile/my
// Headers
x-api-key: GCMUDiuY5a7WvyUNt9n3QztToSHzK7Uj
Content-Type: application/json
Authorization: Bearer <your_token_received_from_signup_or_login>