You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When proxying a POST multipart/form-data request that have been processed by multer, files are not sent even with the code from #896
Step-by-step reproduction instructions
1. Install express
2. Add multer to any route to catch file
3. After that route add http-proxy-middleware :
app.use('/api/v2/', MyRoutes);
app.all('*', createProxyMiddleware({
target: 'https://myURL.com/',
changeOrigin: true
}));
4. On first route, call next() functionto send request to proxy middleware
Expected behavior (be clear and concise)
Request should be proxied whit files
How is http-proxy-middleware used in your project?
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
When proxying a POST multipart/form-data request that have been processed by multer, files are not sent even with the code from #896
Step-by-step reproduction instructions
Expected behavior (be clear and concise)
Request should be proxied whit files
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: