Skip to content
Advertisement

Tag: multipartform-data

Send in-memory bytes (file) over multipart/form-data POST request. Python

;TLDR I want to send a file with requests.send() using multipart/form-data request without storing the file on a hard drive. Basically, I’m looking for an alternative for open() function for bytes object Hello, I’m currently trying to send multipart/form-data request and pass in-memory files in it, but I can’t figure out how to do that. My app receives images from

Advertisement