til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Send a Bearer Token Using curl

This guide shows you how to send a Bearer Token using the command line tool curl.

For the authorization header, you need to use the Authorization header with the value Bearer {token}, like so:

curl https://reqbin.com/echo/get/json
   -H "Accept: application/json"
   -H "Authorization: Bearer {token}"

Replace {token} with your actual token.

Resources and References