Loading…

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.

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question