DEV Community

Cover image for Sending asynchronous POST requests with pure JS: ditching jQuery's ajax
Lourenço Costa
Lourenço Costa

Posted on

Sending asynchronous POST requests with pure JS: ditching jQuery's ajax

If you ended up here, chances are you have to deal with jQuery. As you may know, nowadays, lots of things that used to be made with jQuery can be done with pure JS. An interesting fact is that Bootstrap has announced that they would stop using jQuery as of version 5 (the current at the moment). And that says a lot if you think about it!
Here, I would like to demonstrate a very common practice that is usually made with jQuery, but can be easily replaced with pure JS: sending asynchronous POST/GET requests.

That's it, people.

Thanks for the time reading this!

Follow me:
LinkedIn | Dev.to | Buy me a coffee | GitHub

Latest comments (0)