Skip to content

Migrate to Authorization Bearer Scheme

Compare
Choose a tag to compare
@janishar janishar released this 11 Apr 15:49
· 90 commits to master since this release
  1. The headers for the protected APIs has been migrated to the standard Authorization header with the Bearer scheme.
  2. x-user-id header has been removed.

Earlier:

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:

GET /v1/profile/my 
 
// Headers
x-api-key: GCMUDiuY5a7WvyUNt9n3QztToSHzK7Uj
Content-Type: application/json
Authorization: Bearer <your_token_received_from_signup_or_login>