如何发送post请求
r = requests.post('http://httpbin.org/post', data = {'key':'value'}) |
其他的请求也类似
>>> r = requests.put('http://httpbin.org/put', data = {'key':'value'}) |
GET请求如何传递URL参数
In [12]: r = requests.get(url,params={"key1":"1", "key2":"2"}) |
但是怎么传递数组呢?这是个问题