Skip to content

Tag: express

fetch() is spamming my API with thousands of requests

I have the following function which gets an image from my API: It did work, but now when I run the function it spams the API as the console gets flooded with “Fire” and my server gets thousands upon thousands of requests. Answer You named the function fetch so it overwrites (or shadows, depending …

How to access POST data in express js?

Im using (in the browser): on the client side browser. I’m using (node js): to get the post data. but it doesn’t matter what I send it doesn’t show up. I don’t wanna have to install some separate “body parser” package to see the data…. I don’t wanna parse it. A …