resource representation in rest code example
Example: what is resource in rest api
REST architecture treats any content
as a resource, which can be either
text files, HTML pages, images, videos
or dynamic business information.
REST Server gives access to resources
and modifies them, where each resource
is identified by URIs/ global IDs.