Skip to content
Advertisement

Tag: wechat

Upload Image using POST form data in Python-requests

I’m working with wechat APIs … here I’ve to upload an image to wechat’s server using this API http://admin.wechat.com/wiki/index.php?title=Transferring_Multimedia_Files I’m not able to post data Answer From wechat api doc: Translate the command above to python: Doc: https://docs.python-requests.org/en/master/user/quickstart/#post-a-multipart-encoded-file

Advertisement