[
Lists Home |
Date Index |
Thread Index
]
> I appreciate any clarity you can bring to this topic. /Roger
You are well on your way to REST enlightenment. 8-)
Read back over the "Generality of HTTP" thread. HTTP methods provide
all the necessary "action" you'll ever need.
e.g.
GET /my-radio HTTP/1.1
Accept: application/radioml
response;
<radio>
<volume>5</volume>
<channel type="fm">102.1</channel>
</speaker>
PUT /my-radio HTTP/1.1
Content-Type: application/radioml
<speaker>
<volume>9</volume>
<channel type="am>1040</channel>
</speaker>
POST /my-radio HTTP/1.1
Content-Type: audio/mp3
[mp3 file goes here]
MB
--
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA. mbaker@planetfred.com
http://www.markbaker.ca http://www.planetfred.com
|