26👍
✅
Since you are using Authorization: Bearer
in curl, you should also use client.credentials
with Bearer
word instead of Token
:
client.credentials(HTTP_AUTHORIZATION='Bearer ' + self.access_token)
Source:stackexchange.com