URIs and Resource vs Resource representation

Posted by bckpwrld on Programmers See other posts from Programmers or by bckpwrld
Published on 2014-06-02T19:57:45Z Indexed on 2014/06/02 21:44 UTC
Read the original article Hit count: 229

Filed under:
|

URL is an URI which identifies a resource by location.

Resource representation is a view of resource's state. This view is encoded in one or more transferable formats, such as XHTML, Atom, XML, MP3 ...

URIs associate resource representations with their resources

a) So I assume URI identifies a resource and not resource representation?

b) I've read that relationship between an URI and resource representation is one to many. Assuming we're talking about URL, how can a single URL address more than one resource representation?

thank you

© Programmers or respective owner

Related posts about rest

Related posts about uri