We all are using ajax for a pretty long time but not with Fetch API. When AJAX came to the modern web development, it changed the definition of how web works. To load a new contents in a web page, we do not need a full page reloads. Using AJAX, we can post or pull data from a web servers asynchronously. Almost every web application nowadays use ajax’s. It was all possible because of the XMLHttpRequest. It is a browsers API in the form of an object whose methods transfer data between a web browsers and a web servers. The
The post How to use Fetch API instead of XMLHttpRequest appeared first on Coding Security.
How to use Fetch API instead of XMLHttpRequest
read more
Tidak ada komentar:
Posting Komentar