Veebiteenused (kordamisküsimused ja vastused kontrolltööks)
complex mechanisms such as CORBA, RPC or SOAP to connect between machines, simple HTTP is used
to make calls between machines
In computing, representational state transfer (REST) is the software architectural style of the
World Wide Web.
o Põhimõtted – igal teenusel on oma URL. IGALE TEENUSELE OMA URI
REST (querying a phonebook)
Hea näide:
– http://www.acme.com/phonebook/UserDetails/12345
Halb näide
– http://www.acme.com/phonebook/getUserDetails?id=12345
Veel halvem näide
– http://www.acme.com/phonebook/user12345.xml
REST provides a lighter weight alternative. Instead of using XML to make a request,
REST relies on a simple URL in many cases. In some situations you must provide
additional information in special ways, but most Web services using REST rely
exclusively on obtaining the needed information using the URL approach. REST can use
four different HTTP 1