Reputation: 23
So, it will create a representation or it will create and transfer a representation and browser will render the representation?
Upvotes: 2
Views: 22
Reputation: 57387
Useful definitions from Fielding's dissertation, which defined REST
The information included in the body of an HTTP message is a representation, and it is a copy.
When you point your browser at https://stackoverflow.com/ , the server sends to you an HTML representation of the https://stackoverflow.com/
resource, which the browser renders.
But the render part is not required. For some media types, the browser will save the representation on disk, rather than trying to "render" it.
And of course a user agent like curl
has only trivial rendering capabilities.
Upvotes: 2