node.js - node-http-proxy pathRewrite with url params -
is there convenient way node-http-proxy rewrite entire url including params?
i similar this:
module.exports = () => ({ "customer/:customerid":"customer?id=:customerid" }); so want customerid example gets rewritten url parameter named id.
is possible node-http-proxy or extension?
found it: https://www.npmjs.com/package/express-request-proxy
this solves issue
Comments
Post a Comment