python - Unexpected response from multi-part POST with requests.py -


I am trying to post multi-part encoded form with request in Dragon 3.3

 

This is Http: ..

  {"json": null, "files": {"c_file": "data: image / x-png; base64, (too much binary Data)}, "f {"Value": "xxxxxxxx", "name": "password"}, "header": {"hirokok-request-id": "c101bf2e-d69a-4aab-ac15-b9005a7bcebe", "accept" : "* / *", "Accept-encoding": "identification, gzip, deflate, compress", "content-type": "multipart / form-data; Range "= c5b1e65ff0ac46029c88b9661f981534", "connection": "off", "host": "httpbin.org", "x-request-id": "c101bf2e-d69a-4aab-ac15-b9005a7bcebe", "content-length": "12262", "user-agent": "Python-request / 1.2.3 CPython / 3.3.2 windows / 7"}, "original": "81.107.44.15", "data": "", "url": "Http: //httpbin.org/post/," args ": {}}  

For some reasons the request is not posting all the values ​​in the" payload "dictionary. Where do I go? Dictionary << p>

dictionary only exclusive key You can hold; you have d Use the list of pairs of (key, value) pairs instead of the duplicate parameters: and 'value' key.

Note that httpbin.org is also uses a dictionary to represent the values ​​they post, let them come back to you, you will not see the change that appears there.

But the content of the posted will contain anything on the line:

  - 36ae094926114bed8aa5518ba2e949a4 Content-breakdown: form-data; Name = "name" username - 36ae094926114bed8aa5518ba2e949a4 Content-breakdown: form-data; Name = "value" M3ta --36ae094926114bed8aa5518ba2e949a4 Content-breakdown: form-data; Name = "name" password - 36ae094926114bed8aa5518ba2e949a4 content-presentation: form-data; Name = "value" xxxxxxxx  

When you use this list of Tulips in this way.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -