Open jazarja opened 8 years ago
I'm trying to redirect POST request using requestProxy, but couldn't make it work.
Here is my code
router.post('/api/v1/device/register', requestProxy({ url: "http://localhost:3000/api/v1/user/activation" }));
Request log
POST /api/v1/device/register 408 5449.497 ms - 975 POST /api/v1/user/activation 400 5455.902 ms - 605
I don't know why the destination url serving HTTP error 400. Please help.
Hello sorry, for the belated reply. See https://github.com/4front/express-request-proxy/issues/9#issuecomment-188862038
I'm trying to redirect POST request using requestProxy, but couldn't make it work.
Here is my code
Request log
I don't know why the destination url serving HTTP error 400. Please help.