Promise based HTTP client for the browser and node.js
I am looking into different options to choose a HTTP Client for my project.
Some of them that I looked into are:
axios
rest
superagent
reqwest
MOST important features that I am basically looking for are:
- Easy to use
- Returns a promise
- ES6 compatible if possible
- Can intercept request and response
So far, AXIOS seems to be the best among what I have found so far.
Do you have any ideas about any other popular HTTP Client for browsers which is NOT specific to any framework or library?
Source: (StackOverflow)