Open In App

full | stack contest 1 | Question 2

What is the main difference between using the Fetch API and using the Axios library to make HTTP requests?

(A)



The response has to be converted into JSON while using Fetch API, but Axios internally converts the response into JSON

(B)



The response has to be converted into JSON while using Axios, but Fetch API internally converts the response into JSON

(C)

Axios can be used in both the browser and Node.js environments, while Fetch API can only be used in the browser

(D)

There is no difference both are the same.

Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized