node server (express.js) can’t make external API request after a while
(sorry for bad english) I have a web server in node.js (express.js), and in one route I make a external API request (POST), parse response, and send back as route response. It works ok for a while, but after 45-60 minutes of no calling that route, external API request won’t respond, and got timeout error (try/catch)
node server (express.js) can’t make external API request after a while
(sorry for bad english) I have a web server in node.js (express.js), and in one route I make a external API request (POST), parse response, and send back as route response. It works ok for a while, but after 45-60 minutes of no calling that route, external API request won’t respond, and got timeout error (try/catch)
node server (express.js) can’t make external API request after a while
(sorry for bad english) I have a web server in node.js (express.js), and in one route I make a external API request (POST), parse response, and send back as route response. It works ok for a while, but after 45-60 minutes of no calling that route, external API request won’t respond, and got timeout error (try/catch)
Getting blank pdf when sending data back to the client
I have a two-hop system in which a client (browser or Postman) makes a request to a server, which then makes a second request for a PDF to be served back to the original client.
Cant get my node express project to work on the computer
my screen broke on my first laptop so i got a new one, i unzipped my file and into VS but im getting this error when i just try and run my code
Expressjs cookie is not set in browser at all?
I am deploying this code to render.com and used sameSite: ‘none’ and secure: true but no cookie is set in browser and no Set-Cookie header is present in response header. funny thing is when I use sameSite: ‘lax’, cookie is temporarly set in browser and it warns me to use sameSite: ‘none’. in dev mode everything is ok and I set no sameSite or secure because it is no https. also in response header detector middleware I get no header details printed about response cookie in production mode.
Ways to create a login using nodejs
So i am learning nodejs i am trying to create a login
here what I made so far it works
Multiple Concurrent Request Logging in Express
I’m trying to create a middleware that logs information about the request to a MongoDB database using mongoose. So far I have managed to successfully do so by modifying the res object.
What’s the path for an image on my server?
I started an express server on port 4000 using “npm start” and in the same directory as my server I have an image.
Convert list to dictionary nodejs express application generator api
This is post API