Why doesn't REST utilize WSDLs, unlike SOAP?

前端 未结 3 1450
醉话见心
醉话见心 2020-12-23 15:02

For SOAP web services there is a specification which all request/responses must follow. This specification is in the form of a WSDL document. However for REST web services,

3条回答
  •  攒了一身酷
    2020-12-23 15:48

    There are bunch of ways to define a RESTful API just like WSDL for SOAP:

    • Google Discovery service format.
    • Mashery IODocs.
    • WADL.
    • Swagger.
    • Apiary.

    You can find more info here on my blog post.

提交回复
热议问题