Open juli1 opened 4 years ago
@juli1 As I see you can do through exist headers parameters, if you want to have more easy way. Could you provide me, please, how often it's going to be used ? Cheers, Gonchik Tsymzhitov
How can I add headers when using the API? Is there any special parameters I can use to add the Authorization
header value?
Thanks!
The bitbucket cloud app allows to use the API by using a JWT token. That would then be another way to authenticate for making API calls.
Bitbucket documentation: https://developer.atlassian.com/cloud/bitbucket/authentication-for-apps/
Using the JWT would just add a header in the request such as
"Authorization": "<insert jwt-token here>"