Why isn't SOAP-based web service RESTful?

后端 未结 7 1385
无人及你
无人及你 2021-01-29 20:54

I understand RESTful is an architecture style, but what exactly makes SOAP-based web service not count for RESTful?

It\'s not clear to me which points below (from Wikipe

7条回答
  •  天涯浪人
    2021-01-29 21:09

    Restful : REST is architectural style for building web service using HTTP protocol, where web services are treated as resources and some basic HTTP methods like GET, POST, DELETE are used to identify standard action on resources. RESTful web API (also called a RESTful web service) is a web API implemented using HTTP and the REST principles.

    Soap : SOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in XML form.

提交回复
热议问题