![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e5b027fbc44f8e34a04e39394350ef01.png)
# coding=utf-8
import requests
cookie={"dc_session_id": "10_1541690279946.617154"}
js =[{"headers":{"component":"enterprise","datatype":"re","version":"v1"},"body":"{\"re\":\"ref=https%3A%2F%2Fpassport.csdn.net%2Faccount%2Fverify&mtp=2&mod=ad_popu_282&con=ad_content_3743%2Cad_order_719&uid=chen498858336&ck=-\"}"}]
url="https://pv.csdn.net/csdnbi"
header ={"Content-Type": "text/plain;charset=UTF-8"}
rep =requests.post(url=url,headers=header,json=js,cookies=cookie)
结果如下:
C:\Python27\python.exe C:/Users/Administrator/PycharmProjects/py3project/interface/Paramters/csdn.py
ok
Process finished with exit code 0