- August 2, 2018 at 7:39 am #30862Anjali #649
Which type of Webservices methods is to be idempotent in Salesforce?
Which type of Webservices methods is to be idempotent in Salesforce?August 3, 2018 at 12:42 pm #30982madhulika shah #653
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.September 23, 2018 at 8:51 am #37662Parul #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.
Please Register to reply to this topic. /