Is AJAX a Rest api

前端 未结 2 577
醉话见心
醉话见心 2021-02-06 04:31

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.

2条回答
  •  执笔经年
    2021-02-06 05:06

    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

提交回复
热议问题