详见 https://www.cnblogs.com/ranxf/p/7808537.html
1 requests.get(‘https://github.com/timeline.json’) # GET请求
2 requests.post(“http://httpbin.org/post”) # POST请求
3 requests.put(“http://httpbin.org/put”) # PUT请求
4 requests.delete(“http://httpbin.org/delete”) # DELETE请求
5 requests.head(“http://httpbin.org/get”) # HEAD请求
6 requests.options(“http://httpbin.org/get” ) # OPTIONS请求