What are the two things you need to pass along to the axios .get method?

Question: What are the two things you need to pass along to the axios .get method?

  • The body object and the data format
  • The API endpoint URL and the body object
  • The headers object and the data format
  • The API endpoint URL and the headers object

The right answer was: The API endpoint URL and the headers object.

Leave a Comment