elements icon indicating copy to clipboard operation
elements copied to clipboard

Try It: Request Sample with File Uploads

Open philsturgeon opened this issue 4 years ago • 2 comments

It seems like httpsnippet can handle file uploads through multipart forms, so we should be able to get our Sample Request component showing sample code to users that will handle file uploads for them.

The only reference I have spotted was https://github.com/Kong/httpsnippet/issues/111 and https://github.com/Kong/httpsnippet/pull/173 which fixes it. See if their tests are of any help in figuring out how it works.

This work was split off of https://github.com/stoplightio/elements/issues/648 for the sake of initial launch as this is a bit of an edge case anyhow.

philsturgeon avatar Jan 19 '21 10:01 philsturgeon

If HTTP snippet does not support this out of the box, we should punt.

marbemac avatar Apr 16 '21 15:04 marbemac

@mpodlasin @domagojk @wmhilton @paulatulis @mmiask Hey team! Can you please add your planning poker estimates with ZenHub

mnaumanali94 avatar Aug 17 '21 12:08 mnaumanali94