Upload images from your code
import base64, urllib, urllib2 url = 'https://pixbin.net/api/post/' with open('image.jpeg') as f: imagedata = base64.b64encode(f.read()) data = {"image": imagedata, "caption": "capt"} u = urllib2.urlopen(url, urllib.urlencode(data)) print u.readlines()The above example is in Python but the logic is the same for any languague. Base64 encode an image and post it on the above URL (Caption is optional).