Authenticate with a Bearer token in the Authorization header.
curl https://api.acme.com/v2/widgets \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'
# expect 201 Created; 429 means you are rate limited
Comments
0 comments
Please sign in to leave a comment.