Relative Content

Tag Archive for node.jsexpressproxy

How do I make a microservice not return 408?

I am trying to make a main API talk to a login server to get the API keys. The login server answers requests that I make, although based on the client’s requirements (AKA my teacher), they want to be able to log in from the main API, so when they do a request to /login, I proxy it to the login server. But seemingly the login server doesn’t respond to those requests, so it doesn’t really work and returns a 408 timed out.