0
I’m trying to create an API gateway, which is going really well. However, when trying to get a microservice to accept ONLY requests through the gateway, I am having trouble. I want any external request blocked, only internal requests can be accepted.
I tried to intercept the requests by request and by replay the routes using the express, but there is no property that tells me that. I tried to use the "Cors" module, but whenever I give a console.log in the "origin" property that comes from it, it comes as null.
Someone could give me a north for this?