• #30862
     Anjali #619
    Forcetalks

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

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

     

    #30982
    Forcetalks

    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.

    #37662
    Salesforce | Parul Parul #103
    Forcetalks

    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.

CONTACT US

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

Sending

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 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?