DEV Community

Discussion on: Axios or fetch(): Which should you use?

Collapse
 
pavelloz profile image
Paweł Kowalski • Edited

Hmm.

The URL is passed as an argument to fetch(). In Axios, however, the URL is set in the options object

I believe axios has alias methods (which you even used later in the article), ie. axios.get() - github.com/axios/axios#request-met...