Wazaterm » Linux Commands » curl

Authenticate with JWT token using curl

$ curl -X POST -H 'Accept: application/json' -H "Authorization: Bearer ${TOKEN}" -d '{"id": "1"}' localhost:3000/api/v1/users

Related Commands