Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 708 Bytes

how_to_authenticate_with_token.md

File metadata and controls

27 lines (18 loc) · 708 Bytes

How to authenticate with token

Step1: Generate token

  1. Login account then click Settings.
  2. Fill the description of the token, select token scopes, then generate the token.
  3. Copy the token for future API call use.

Step2: Authenticate user with token to call API

API doc

  1. Go to API doc.
  2. Fill the token with the format token [YOUR TOKEN].
  3. Try API call!

curl

curl --header 'Authorization: token [YOUR TOKEN]' https://todos-actioncable.herokuapp.com/api/v1/rate_limit