Activity Forums Salesforce® Discussions What are the advantages of statelessness in RESTful Webservices in Salesforce?

  • Avnish Yadav

    Member
    August 8, 2018 at 12:36 pm

    Hi Suniti,

    An advantage of statelessness in RESTful Webservices:-

    1. For this specialty, the web services can deal each method request independently.
    2. Web services do not maintain the record of the client’s previous interactions which simplifies designing the application.
    3. As RESTful web services constantly deal with HTTP protocols which are also a statelessness protocol that matches the basic criteria.

    Thanks.

  • Parul

    Member
    September 15, 2018 at 4:50 am

    Following are the benefits of statelessness in RESTful Web Services −

    Web services can treat each method request independently.
    Web services need not maintain the client's previous interactions. It simplifies the application design.
    As HTTP is itself a statelessness protocol, RESTful Web Services work seamlessly with the HTTP protocols.

     

    Thanks

  • shariq

    Member
    September 15, 2018 at 5:29 pm

    Hi,

    REST APIs are stateless, meaning that calls can be made independently of one another, and each call contains all of the data necessary to complete itself successfully.

    Hope this helps.

  • Pooja

    Member
    February 28, 2020 at 2:27 pm

    As RESTful web services constantly deal with HTTP protocols which are also a statelessness protocol that matches the basic criteria.

  • Aditya

    Member
    February 28, 2020 at 2:43 pm

    Hi Pooja,

    Web services do not maintain the record of the client’s previous interactions which simplifies designing the application.
    As RESTful web services constantly deal with HTTP protocols which are also a statelessness protocol that matches the basic criteria.

Log In to reply.

Popular Salesforce Blogs