© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Siddhant
Learning everyday to be a better programmer
There is something consistent throughout the Node and that is callback function is the last argument passed in any asynchronous function. HTTP example We start by importing the http module in our code. After that we will make a request on it. const h...
Anil kumar
javascript developer
Modern approach, use fetch like browser
I don't understand. Where I have to use fetch
Siddhant From node v17.5, nodejs add fetch API like browser. Http or https request has lots of limitations:
check nodejs docs: /dist/latest-v18.x/docs/api/globals.html#fetch
Anil kumar Thankyou so much Anil. Will definitely look how to use Fetch.
Anil kumar
javascript developer
Modern approach, use fetch like browser