Difference between SOAP API and REST API
SOAP API |
REST API |
Relies on SOAP (Simple Object Access Protocol) | Relies on REST (Representational State Transfer) architecture using HTTP. |
Transports data in standard XML format. | Generally transports data in JSON. It is based on URI. Because REST follows a stateless model, REST does not enforce message format as XML or JSON etc. |
Because it is XML based and relies on SOAP, it works with WSDL | It works with GET, POST, PUT, DELETE |
Works over HTTP, HTTPS, SMTP, XMPP | Works over HTTP and HTTPS |
Highly structured/typed | Less structured -> less bulky data |
Designed with large enterprise applications in mind | Designed with mobile devices in mind |

He is a technology evangelist, Salesforce trainer, blogger, and working as a Salesforce Technical Lead. After working in Java based project implementation, he jumped to the Salesforce system on a whim and never looked back. He fell in love with Salesforce’s flexibility, scalability, and power. He expanded his knowledge of the platform and became a Certified App Builder, Administrator, Platform Developer I, II, SalesCloud Consultant, total 11 x certified while leading the Salesforce implementation and technology needs. He has worked in a wide variety of applications/services like desktop, web and mobile applications.