plow icon indicating copy to clipboard operation
plow copied to clipboard

Support for multipart request

Open IttiS46 opened this issue 2 years ago • 2 comments

Hello,

is there a way to send multipart/form-data with Post request using this tool?

IttiS46 avatar Jan 05 '22 04:01 IttiS46

Created a super simple way to add multipart/form-data in: https://github.com/braintribehq/plow Beside maybe some other issues the main drawback is that I added the complete file into memory. For my cases it does not matter but of course this is not a good solution.

Gerry0815 avatar Jan 09 '23 14:01 Gerry0815

Multipart has a complex format, making it difficult to build through command line options. A better approach may be to manually directly build the raw body. Thanks to @Gerry0815 for providing a great reference implementation.

six-ddc avatar Jan 09 '23 15:01 six-ddc