Lists Home |
Date Index |
> > What is the URI of me? http://www.alaric-snell.com/ is the URI of an HTML
> > page about me, not *me*.
> It is if you say it is and the rest of us agree.
We don't need to agree. He says it, and that makes it so.
Thought why he wouldn't want it to identify himself, rather than an HTML
page is a different question. Certainly just *because* the GET returns
an HTML when you ask it for that (all browsers ask for text/html),
doesn't mean that the URI identifies the HTML. HTML is one
*representation* of the resource, not necessarily the resource itself.
> > On the other hand, this is the URI of my mobile phone:
> > urn:oid:1.2.8188.8.131.5262548.2.0
> > It does not support GET.
> Yeah, too bad it doesn't support HTTP yet. But it will.
telnet some-mobile-phone-provider.com 80
GET urn:oid:1.2.8184.108.40.20672548.2.0 HTTP/1.1
HTTP/1.1 200 Ok
Allow: GET, POST
Hi, I'm Al's mobile phone. I'm currently powered off, so you'll
get voicemail. POST some text to send an SMS.
POST urn:oid:1.2.8220.127.116.1172548.2.0 HTTP/1.1
Hey Al, any closer to understanding the value of REST yet?
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA. email@example.com