What is the difference between REST and Soap?
- SOAP represent for Simple Object Access Protocol, and REST stands for Representation State Transfer.
- SOAP is a protocol and Rest is an architectural style.
- SOAP permits XML data format only but REST permits different data format such as Plain text, HTML, XML, JSON, etc
- SOAP requires more bandwidth and resource than REST so avoid to use SOAP where bandwidth is minimal.
BY Best Interview Question ON 26 Jan 2019