Hey im trying to connect python with bitbucket but it keep saying that i need to create an app password although im using my app password, what am i doing wrong?
url = 'https://bitbucket.org/api/2.0/user/'
headers = {'Content-Type': 'application/json', "Authorization":"Bearer token"}
r = requests.get(url, auth=('email', 'password'), headers=headers)
print(r.status_code)
print(r.text)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.