Open eraxeg opened 1 year ago
Due to this it is not possible to use HTTPie with projects which does not explicitly use the keyword Bearer.
I think it's still possible but you might have to tweak the syntax a little:
$ https pie.dev/bearer authorization:'Token ${TOKEN}'
Checklist
Enhancement request
Adding support for different keywords than "Bearer" for Bearer authentication.
Problem it solves
The default keyword in Falcon and Django REST Framework is "Token" instead of "Bearer". In HTTPie the only possible keyword is Bearer. Due to this it is not possible to use HTTPie with projects which does not explicitly use the keyword Bearer.