ccoenraets / cors-proxy

Simple Node.js-based CORS Proxy
121 stars 155 forks source link

formData is not supported #5

Open Xotabu4 opened 5 years ago

Xotabu4 commented 5 years ago

GitLab accepts formData, i am looking for sending it from webpage. But this lib only accepts jsons

sandeep-cs-dev commented 4 years ago

I think piping a request would do like this :req.pipe(request('http://mysite.com/path')).pipe(resp) My point is after preflight request cant we just pipe a request. @ccoenraets if you think that will work I can change the code in my branch and make a pull request