Rest – Representational state transfer (REST) and Simple Object Access Protocol (SOAP)

restsoap

Can somebody explain what is REST and what is SOAP in plain english? And how Web Services work?

Best Answer

Simple explanation about SOAP and REST

SOAP - "Simple Object Access Protocol"

SOAP is a method of transferring messages, or small amounts of information, over the Internet. SOAP messages are formatted in XML and are typically sent using HTTP (hypertext transfer protocol).


Rest - Representational state transfer

Rest is a simple way of sending and receiving data between client and server and it doesn't have very many standards defined. You can send and receive data as JSON, XML or even plain text. It's light weighted compared to SOAP.


enter image description here

Related Topic