0 votes
in AJAX by
When should we use Ajax GET request and Ajax POST request?

1 Answer

0 votes
by

Use of HTTP GET or POST methods by Ajax depends on particular scenarios.

These are:

When data for the given URL requested does not change, the HTTP GET request should be used by Ajax.

HTTP POST is used for consistent web application architecture and for the updated state on the server.

Conclusion

Ajax is a technology to send or receive data asynchronously from client to server that returns data from the server without page reload.

Various technologies like DOM, JavaScript, ActiveX, XMLHttpRequest, HTML, XHTML and CSS are used by Ajax. Various protocols are used by various Ajax frameworks for quick data transfer without page reload.

We hope this guide on popular Ajax Interview Questions will help you prepare for your interview. We wish you all the best!

...