How can I open a contract with a non-SOAP web interface?

Let's say I have a URI for RESTful or another API without a contract. Is it possible to programmatically determine its interface? I am using C # / ASP.net MVC, not sure if this is important.

I understand that there will be no published contract, but I wonder if there is something that I don’t think about (usually there is).

+3
source share
2 answers

If the system is RESTful, the returned view will provide you with links to available endpoints. These links are easy to find programmatically. See this example.

HTTP- , . , , , .

, , application/xml application/json, , , . , , URL-. , , "" REST.

+1

. , . API RESTful, .

+2

Source: https://habr.com/ru/post/1743629/


All Articles