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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -