Google News
logo
Rest API - Interview Questions
Mention what is the difference between AJAX and REST?
AJAX REST
In Ajax, the request are sent to the server by using XMLHttpRequest objects. The response is used by the JavaScript code to dynamically alter the current page. REST have a URL structure and a request/response pattern the revolve around the use of resources.
Ajax is a set of technology; it is a technique of dynamically updating parts of UI without having to reload the page. REST is a type of software architecture and a method for users to request data or information from servers.
Ajax eliminates the interaction between the customer and server asynchronously. REST requires the interaction between the customer and server.
Advertisement