Activity Forums Salesforce® Discussions What is the purpose and format of URI in REST architecture?

  • Anjali

    Member
    August 2, 2018 at 7:38 am

    Purpose of an URI is to locate a resource(s) on the server hosting the web service. Another important attribute of a request is VERB which identifies the operation to be performed on the resource.

    A URI is of following format −

    <protocol>://<service-name>/<ResourceType>/<ResourceID>

  • Parul

    Member
    September 14, 2018 at 5:06 am

    REST  is an architectural style for networked hypermedia applications, it is primarily used to build Web services that are lightweight, maintainable, and scalable. A service based on REST is called a RESTful service. REST is not dependent on any protocol, but almost every RESTful service uses HTTP as its underlying protocol. In this article, I examine the creation of RESTful services with HTTP.

    A URI  (Uniform Resource Identifier) is a sequence of characters that identifies a logical or physical resource.

    A URI is of following format −

    <protocol>://<service-name>/<ResourceType>/<ResourceID>

    Thanks

  • Avnish Yadav

    Member
    September 14, 2018 at 6:32 am

    Hey,

    The purpose of URI in REST is to locate the resources on server.

    And the format of URI in REST is-

    <protocol>://<service-name>/<ResourceType>/<ResourcrceID>

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos