# coding:utf-8
import requests
# 加载json模块
import json
headers = {"Content-Type":"application/json"}
payload = {"OPT_TYPE":"WC101"}
# 将payload转化为json格式
data_json = json.dumps(payload)
url = 'http://cm.aolsee.com/aolsee-sga/weChatIface/api'
r = requests.post(url,headers=headers,data=data_json)
print r.status_code
print r.text