cli
cli copied to clipboard
Support for WebAppBoundary Request
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 just to clarify: is this issue about the terminal version or web & desktop?
Desktop and Web both. Not sure about Terminal version.