摘要:
1. 文件上传 { "args": {}, "data": "", "files": { "file": "data:application/octet-stream;base64,AAAAAA...=" }, "form": {}, "headers": { "Accept": "*/*", "A 阅读全文
posted @ 2019-05-28 18:57
大道至简,小而蕴真
阅读(299)
评论(0)
推荐(0)
摘要:
1、发送不同的请求 2、GET请求 { "args": {}, "headers": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Host": "httpbin.org", "User-Agent": "python-request 阅读全文
posted @ 2019-05-28 16:11
大道至简,小而蕴真
阅读(258)
评论(0)
推荐(0)
摘要:
1. urlparse() 解析链接,注意,返回值比3多一个params的属性 <class 'urllib.parse.ParseResult'> ParseResult(scheme='http', netloc='www.baidu.com', path='/index.html', para 阅读全文
posted @ 2019-05-28 15:45
大道至简,小而蕴真
阅读(643)
评论(0)
推荐(0)

浙公网安备 33010602011771号