Activity Forums Salesforce® Discussions Describe your understanding of RESTful web service?

  • Prachi

    Member
    September 10, 2018 at 2:32 pm

    Hi chanchal,

    RESTful web service is one of the two types of websites besides SOAP. RESTful web services use the HTTP methods to implement the concept of REST architecture. A RESTful web service usually defines a URI, Uniform Resource Identifier a service and provides resource representation like JSON and a set of HTTP methods.

    REST contains some major characteristics:

    The SERVER has no status (or session data) because REST is stateless. With a well-applied REST API, the server could be restarted between two calls, since all data is transferred to the server

    Web service uses the POST method primarily to perform operations, while REST uses GET for accessing resources.

    Thanks

  • Parul

    Member
    September 10, 2018 at 6:45 pm

    RESTful web services are built to work best on the Web. Representational State Transfer (REST) is an architectural style that specifies constraints, such as the uniform interface, that if applied to a web service induce desirable properties, such as performance, scalability, and modifiability, that enable services to work best on the Web. In the REST architectural style, data and functionality are considered resources and are accessed using Uniform Resource Identifiers (URIs), typically links on the Web. The resources are acted upon by using a set of simple, well-defined operations. The REST architectural style constrains an architecture to a client/server architecture and is designed to use a stateless communication protocol, typically HTTP. In the REST architecture style, clients and servers exchange representations of resources by using a standardized interface and protocol.

    Features of RESTful Services:

    • Representations
      Messages
      URIs
      Uniform interface
      Stateless
      Links between resources
      Caching

    Thanks

     

     

  • Avnish Yadav

    Member
    September 11, 2018 at 7:03 am

    Hello,

    Just like SOAP (Simple Object Access Protocol), which is used to develop web services by XML method, RESTful web services use web protocol i.e. HTTP protocol method. They have the feature like scalability, maintainability, help multiple application communication built on various programming languages etc.

    RESTful web service implementation defines the method of accessing various resources which are required by the client and he has sent the request to the server through the web browser. The important aspects of this implementation include:

    • Resources
    • Request Headers
    • Request Body
    • Response Body
    • Status codes

    Thanks.

  • shariq

    Member
    September 15, 2018 at 11:13 am

    Hi,

    Representational State Transfer (REST) is an architectural style that defines a set of constraints to be used for creating web services. Web Services that conform to theREST architectural style, or RESTful web services, provide interoperability between computer systems on the Internet.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs