A worked example, rendered from real sample data. Sign in to run the tool on your own input.
https://api.example.com/users
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8Ucurl -X GET 'https://api.example.com/users' \
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U' \
-H 'Accept: application/json'
Generate a curl command that uses a JWT as the Authorization header. Part of the DevTools Surf developer suite. Browse more tools in the Text / String collection.