arriven / db1000n

MIT License
1.18k stars 208 forks source link

Please add possibility to configure multipart/form-data request from config #512

Closed Vitalii-Gozhenko closed 2 years ago

Vitalii-Gozhenko commented 2 years ago

It would be nice to have possibility to config multipart/form-data requests from config. Currently it is not possible because there is no possibility to insert newline character into the body

arriven commented 2 years ago

Hmm, it should be possible to input newline characters to both json and yaml which are accepted formats here but I'll take a look tomorrow

arriven commented 2 years ago

yup, it does work, you can probably take look here for examples on how to specify multiline strings in yaml https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines