Lists Home |
Date Index |
John Evdemon wrote:
> Query: there is nothing in the REST architectural style that requires
> the use of XML -can someone clarify this for me?
That's right. What's to clarify? ;) Neither REST nor HTTP have any
preference for media types. HTML and PDF happen to be the most useful
and popular media types for human-readable documents and XML is the most
useful for machine readable ones. REST does prescribe media types that
allow hyperlinks so XML is obviously a natural fit.