I am trying to compare 2 branches of particular repository. It is giving error "This endpoint does not support token-based authentication"
the rest end point is : https://bitbucket.org/<id>/<repo_name>/branches/compare/<bramcn_name>%0Ddevelop
I have passed token and content type in to header. The same is worked for other endpoints.
headers = {"Accept": "application/json","Authorization": 'Bearer '+bearer}
Kindly help!