How would you send a query with short values with the same key?
r = requests.post('http://www.httpbin.org/post', data={1: [2, 3]}) print r.content
{
...
"form": {
"13"
},
...
}
Edit:
Hmm, very strange. I tried repeating these messages with a simple Flask application, and I get:
[('1', u'2'), ('1', u'3')]
Is this just a flaw in httpbin.org?
source share