Easy learning with example program codes

what is a resource in restful web services?

Normally in computer language, a resource refers to anything that can be stored on a computer and represented as a stream of bits: a document, a row in a database, or the result of running an algorithm.

In case of web services anything which is accessed by the URL you supply is a resource.

Note: URL is not a resource, it is just a label that identifies the resource. The XML, JSON, text etc are the representations of the resources.

Related topics:

Please follow and like us:

Copyright © 2020 CodesJava Protection Status