Training Day5 - adithnaveen/swiggy-2020-july GitHub Wiki
WebSite WebApplication Not Front End Backend Middletier (Business logic )
URL - Outside (yahoo.com, google.com,facebook.com)
URI - Intra ("/weather", "/post")
CORBA
W3C - SOAP - there was only 1 end point - 1999 then lot of methods then the return type is xml
RMM 0 - expose the whole API https://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl
1 - sending - http://yahoo.com/post/register - SWAMP OF POX
getting - http://yahoo.com/get/register
updating - http://yahoo.com/update/register
2 - Verbs GET POST PUT DELETE OPTIONS TRACE - given the data
when you try to build the URI
GET /orders (dont say /getOrder) -> yahoo.com/orders
POST /orders (dont say /postOrder) -> yahoo.com/orders
GET /order/1 (dont say /getOneOrder)
/orders/10/20. -> http://localhost:5656/api/orders/888
GET /orders?noofrecrods=10
http://localhost:5656/api/orders?orderId=101&name=naveen&addr=blr
3 - HATEOS https://www.youtube.com/watch?v=2mBfonGwXaM
given the data + related data / links