...

/

Challenge: Making POST and GET Requests to a Public REST API

Challenge: Making POST and GET Requests to a Public REST API

Learn to make a POST and GET request to a public REST API.

Challenge description for making a GET request

This part of the exercise is implemented by taking the following steps:

  • Install and import both the express and node-fetch packages.

  • Configure the PORT and app.listen() in Express.

  • Make a GET request using the fetch npm package to the REST API below from ...