function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jancy MaryJancy Mary 

why REST is chosen the more compared to SOAP.

Hi Guys,

Can anyone help me with some presentation on SOAP vs REST, or I would say some straight bullet points would be great. I went through many online documentation and got more information. But I did not find strong lines that justify to use REST instead of SOAP.

1. What exactly mean by Architectural style in terms of REST. 
2. Why REST(not a standard method) is chosen the most now a days than SOAP(Standard).
3. How secured REST when compared to SOAP. I understand that SOAP has strongly coupled security, but why REST is chosen on top of this.

Thanks in advance for any help on this.
Sagar PareekSagar Pareek
You can refer to this link. Community Member Mohith answered similar question with all details in salesforce perspective -

http://salesforce.stackexchange.com/questions/4051/rest-api-vs-soap-api-in-salesforce