We’ll be covering how to make GET & POST API requests in Node.js using Node-Fetch. For the GET request, we’ll be calling NASA’s Astronomy Picture of the Day API as an example.

Some alternatives to node-fetch:
Axios: https://www.npmjs.com/package/axios
Https (Native to Node.js): https://nodejs.org/api/https.html
Request-promise: https://www.npmjs.com/package/request-promise

If you found this video helpful, please drop a like and subscribe! I would love to hear your suggestions on future videos/tutorials!

Previous Video: https://www.youtube.com/watch?v=oJWdRBd0hyQ

Found this video helpful? Feel free to support this channel here: https://ko-fi.com/jacksonyuan

#node.js #node #nasa apod api) #http #node-fetch

HTTP Requests using Node-Fetch (NASA APOD API) - Node.js Tutorial
5.65 GEEK