All you need to do is putting it on a list and making the key as list like string:
data = {'name': 'hello', 'data[]': ['hello', 'world']}
response = requests.get('http://example.com/api/add.json', params=data)
More Related Contents:
- Download large file in python with requests
- How to download image using requests
- How to use Python requests to fake a browser visit a.k.a and generate User Agent?
- ImportError: No module named requests
- Using headers with the Python requests library’s get method
- Requests (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”) Error in PyCharm requesting website
- Web scraping program cannot find element which I can see in the browser
- How to load all entries in an infinite scroll at once to parse the HTML in python
- How do I get the IP address from a http request using the requests library?
- Adding headers to requests module
- Python Requests package: Handling xml response
- Python Requests vs PyCurl Performance
- Can Python Requests library be used on Google App Engine?
- Force requests to use IPv4 / IPv6
- python how to decode http response
- Using cookies.txt file with Python Requests
- Use python requests to download CSV
- Passing cookies while logging in
- How to get around python requests SSL and proxy error?
- requests.get returns 403 while the same url works in browser
- Http Redirection code 3XX in python requests
- Unit testing a python app that uses the requests library
- Saving response from Requests to file
- Python Requests – SSL error for client side cert
- Getting HEAD content with Python Requests
- ValueError: Data must not be a string
- XHR request URL says does not exist when attempting to parse it’s content
- Difference between “data” and “params” in Python requests?
- Return a requests.Response object from Flask
- How to measure download speed and progress using requests?