Add images to API posts

You should upload the file and get the url to the file, then post it.

r = requests.put()
p = "http:"+r.json()['url']