RESTED icon indicating copy to clipboard operation
RESTED copied to clipboard

How to upload a file when I request http with post method

Open sacreddr opened this issue 8 years ago • 7 comments

  1. Use post method;
  2. Content-Type = multipart/form-data;
  3. Request Body, How to upload a file?

sacreddr avatar Aug 15 '17 07:08 sacreddr

Hi,

Right now there is no support for file upload. This would be a nice feature to have, though

eliihen avatar Aug 15 '17 09:08 eliihen

Hi, do you have some update with this feature? I would like to use it

thanks

kesmile avatar Feb 08 '18 18:02 kesmile

@kesmile +1

lvtanxi avatar Feb 09 '18 07:02 lvtanxi

Hey guys,

Feel free to create a PR with this feature if you need it. I'll help you get it merged.

eliihen avatar Feb 09 '18 07:02 eliihen

hey @esphen i'd like to create a PR for the option to all file in multipart over the weekend, project is still maintained right?

jay-dee7 avatar Jul 24 '19 19:07 jay-dee7

Hi,

Yeah, it's maintained, just not actively developed by me right now. If you make a PR that implements file upload (which would be awesome by the way!), I will review, merge and release a new version with that feature. So by all means, feel free :)

eliihen avatar Jul 24 '19 19:07 eliihen

awesome then, i'll make a PR this weekend

jay-dee7 avatar Jul 24 '19 21:07 jay-dee7