Options
GET address
, etc
REST describes a networked system in terms of
Query a database
GET http://host/CUSTOMERS
<resources xmlns:xlink="http://www.w3.org/1999/xlink">
<resource xlink:href="http://host/CUSTOMER/0/">0</resource>
<resource xlink:href="http://host/CUSTOMER/1/">1</resource>
<resource xlink:href="http://host/CUSTOMER/2/">2</resource>
<resource xlink:href="http://host/CUSTOMER/3/">3</resource>
</resources>
GET http://host/CUSTOMER/1/
<resources xmlns:xlink="http://www.w3.org/1999/xlink">
<ID>11</ID>
<FIRSTNAME>Julia</FIRSTNAME>
<LASTNAME>White</LASTNAME>
<STREET>412 Upland Pl.</STREET>
<CITY>Chicago</CITY>
</resources>