cli icon indicating copy to clipboard operation
cli copied to clipboard

Support for WebAppBoundary Request

Open AbinashSankaran opened this issue 2 years ago • 2 comments

Checklist

  • [x] I've searched for similar feature requests.

Enhancement request

For file sending with Form Data, sending with WebAppBoundary syntax is very common and with Httpie, i am not able to send any request to with files in which backend expects WebAppBounday


Problem it solves

Could not use Httpie with files and formdata. Postman handles this scenario well. And it is the common behaviour for JetBrains based IDE HTTP files too for file sending


Additional information, screenshots, or code examples

POST {{host}}/test
Authorization: {{token}}
Content-Type: multipart/form-data; boundary=WebAppBoundary

--WebAppBoundary
Content-Disposition: form-data; name="prospect"; filename="file.csv"

< files/test/file.csv
--WebAppBoundary
Content-Disposition: form-data; name="data"

{"name":"ASDF"}
--WebAppBoundary--

AbinashSankaran avatar Jan 10 '23 08:01 AbinashSankaran

@AbinashSankaran just to clarify: is this issue about the terminal version or web & desktop?

jkbrzt avatar Jan 15 '23 17:01 jkbrzt

Desktop and Web both. Not sure about Terminal version.

AbinashSankaran avatar Jan 15 '23 18:01 AbinashSankaran