DEV Community

Cover image for Four Ways To Make An API Calls In Javascript

Four Ways To Make An API Calls In Javascript

Anuradha Aggarwal on March 28, 2021

Hello developers!! In this post, we'll discuss various ways to make an API call for your next project. 🔎 XML HTTP Request All modern b...
Collapse
 
aminnairi profile image
Amin

So really two ways then, isn't it?

Collapse
 
ianwijma profile image
Ian Wijma

I personally don't think its a great idea to include jQuery JUST for $.ajax, if you really want to use a library I'd recommend axios, like you described.