Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

I have a very basic usecase where I'm proxy requests to example.com to def.com using express-http-proxy module. Code is straightforward as shown in the documentation. var proxy = require('express-http-...
RKodakandla's user avatar
  • 3,502
1 vote
0 answers
161 views

In nodejs created a gateway that proxies the apis based on some conditions. The gateway also checks the headers in token and if validated then set the req.user Here is the proxy code proxy(host) { ...
Code Guru's user avatar
  • 15.8k
1 vote
0 answers
622 views

Is there a way to scan a big list of specific endpoints (IP:port) in nmap without passing them individually? We have a list of IP:port that we want to run through the http-open-proxy script to verify ...
Sayantan Ghosh's user avatar
0 votes
1 answer
1k views

I have created a nodejs gateway server, in which based on url prefix, it proxy using express-http-proxy:1.5.1 to many other microservices like this this.router.all(Routes.ABC, httpProxy(baseUrl.XYZ, { ...
Code Guru's user avatar
  • 15.8k
1 vote
0 answers
573 views

Due to a use case, I am trying to first parse request body and then decide the proxy target. But whenever I am parsing req body, proxy does not work. it just becomes unresponsive. I tried bodyparser ...
Sam's user avatar
  • 13
1 vote
0 answers
2k views

I am trying to display an iframe for an external website in my React website and given that I cannot alter the contents of an iframe for external domains, I may need to proxy the website into mine. I ...
noblerare's user avatar
  • 12.1k
2 votes
0 answers
841 views

I have a custom-proxy.ts module that exports a function like this: import proxy from 'express-http-proxy'; export const customProxy = proxy('a-url', { filter: 'POST', https: true } This is ...
q-q's user avatar
  • 33
1 vote
1 answer
2k views

i want to console log success and error response of this proxy request, however i'm not able to find any option to do that: app.get( "/api/:resource/:id", requestProxy({ cache: redis....
Rukmani Tripathi's user avatar
1 vote
2 answers
1k views

I have the following... const coreUrl = "myip:3000" app.use('/login', proxy(coreUrl, options)); I would expect this to forward to myip:3000/login but it actually forwards to myip:3000 I ...
Jackie's user avatar
  • 24k