Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is AJAX a Rest api

Tags:

rest

ajax

Recently I have been working on Ajax. So according to me AJAX displays content in HTML using XML. But now does this mean it is a Rest api.

like image 606
The Third Avatar asked Mar 27 '14 15:03

The Third


1 Answers

Using REST we can do operations (PUT,POST,GET,HEAD) but by using AJAX we can only retrieve data from server side , AJAX can be a part of REST but REST can never be AJAX http://rest.elkstein.org/2008/02/ajax-and-rest.html

like image 60
Sai Ram Avatar answered Sep 20 '22 11:09

Sai Ram