Trying to post multipart form data in python, won't post

前端 未结 2 2017
刺人心
刺人心 2021-01-06 08:22

I\'m fairly new to python, so I apologize in advance if this is something simple I\'m missing. I\'m trying to post data to a multipart form in python. The script runs, but i

2条回答
  •  别那么骄傲
    2021-01-06 08:42

    Try using the requests library. Docs on posting multipart file are here: http://docs.python-requests.org/en/latest/user/quickstart/#post-a-multipart-encoded-file

提交回复
热议问题