import requests
import json
files={'imageCodeFile':open('/tmp/5-95543-1492421402474.jpg','rb')}
values = {'imageFileName':'5-95543-1492421402474.jpg'}
r = requests.post('http://ocr.xxxxx.com/ocr/getImageCode', files=files, data=values)
#u'{"success":true,"error":null,"message":null,"data":"7490","fromUrl":null,"reqUrl":null}'
print r.txt
res_json=json.loads(r.text)
print res_json['data']