header的使用:
imoprt requests
url = ''
head = {
'host':'www.baidu.com',
'Content-type':'application/json'
}
requests.get(url,headers = head)
header的使用:
imoprt requests
url = ''
head = {
'host':'www.baidu.com',
'Content-type':'application/json'
}
requests.get(url,headers = head)