I use queries in Python 2.7 to try to change the description of a previously uploaded image using the API. According to Imgur API Guide, I used this:
r = requests.post('https://api.imgur.com/3/image/'+submission['id'], \
headers={'Authorization':'Bearer '+access_token}, \
data={'description':'blahblahblah'}, verify=False)
What I get in return:
{u'status': 200, u'data': False, u'success': True}
So, as far as I can see, OAUTH works fine, but the API itself returns “False” and the description does not change. I find no further guidance regarding this particular endpoint. Any ideas?
source
share