How to Use the JavaScript Fetch API?
In our past time we have used XMLHttpRequest to make requests, it has some messy code and it didn’t give us promises. To be honest it was not a clear way to right the code in JavaScript. If you where using jQuery then you used the cleaner syntax with jQuery.ajax(). …