Download a file from gin framework as multipart formdata

Viewed 110

I'm using gin framework context.File(filePath) to send a file but the content type is application/octet-stream how can I send it as a multipart/form-data ?

0 Answers
Related