请求地址:/v6/ApiPersonalCertification/mobileThreeElements.json
请求方式:POST
接口版本: v6
接口描述:
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib dict ={} dict['id_card'] = '5110****'; dict['mobile'] = '1995100000'; dict['real_name'] = '粟xx'; url = "https://api-v2.1dq.com/v6/ApiPersonalCertification/mobileThreeElements.json + "?" + urllib.urlencode(dict) result = urllib2.urlopen(urllib2.Request(url)) jsonarr = json.loads(result.read()) # 输出错误码 print jsonarr["code"]