请求地址:/v5/Tool/checkFileEncryption.json
请求方式:POST
接口版本: 5.2.3
接口描述:
#!/usr/bin/python # encoding:utf-8 import urllib2, json, urllib dict ={} dict['file_id'] = 'signed-30bfb87dd63a4c7a5f720dbbbd7c2b2b-9808d27b-0004'; url = "https://api-v2.1dq.com/v5/Tool/checkFileEncryption.json + "?" + urllib.urlencode(dict) result = urllib2.urlopen(urllib2.Request(url)) jsonarr = json.loads(result.read()) # 输出错误码 print jsonarr["code"]