• #30862
     Anjali #649

    Which type of Webservices methods is to be idempotent in Salesforce?

    Which type of Webservices methods is to be idempotent in Salesforce?



    Hello Anjali,

    One of the important aspects of REST (or at least HTTP) is the concept that some operations are idempotent. An idempotent method means that the result of a successful performed request is independent of the number of times it is executed.

    Salesforce | Parul Parul #930

    In the context of REST APIs, when making multiple identical requests has the same effect as making a single request – then that REST API is called idempotent.

    When you design REST APIs, you must realize that API consumers can make mistakes. They can write client code in such a way that there can be duplicate requests as well. These duplicate requests may be unintentional as well as intentional some time (e.g. due to timeout or network issues). You have to design fault-tolerant APIs in such a way that duplicate requests do not leave the system unstable.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

Popular Salesforce Blogs


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?