dimanche 28 février 2016

How to Send post response as image from python requests

i am trying to get my image hosted online and for that i am using python

import requests 
url = 'http://imgup.net/'
data = {'image[image][]':'http://ift.tt/1VLQmMG'}
r = requests.post(url, files=data)

i am not able to get the response url of the hosted image from the response . Please help !




Aucun commentaire:

Enregistrer un commentaire