How do I discover RESTful Web services?

后端 未结 4 1999
遥遥无期
遥遥无期 2020-12-28 16:05

When I want to find a \"Big\" Web service (WS-*/WSDL based) of required functionality I can simply google for \".... filetype:wsdl\" because Google indexes also WSDL definit

4条回答
  •  一向
    一向 (楼主)
    2020-12-28 16:15

    There is a convention (recommended in REST API Design Handbook for example) that you expose a /api endpoint at the root of your service. This returns an XML or JSON response containing the "child" resources that your service supports e.g. /api/products

提交回复
热议问题