Zensar Technologies Interview Question

what is REST? difference between SOAP and REST web services?

Interview Answer

Anonymous

Feb 1, 2019

REST stands for representational state transfer. REST and SOAP both are used for communication between a web server and a client. REST is a better alternative to SOAP nowadays because it is light weight and they can return anything(means it can return JSON,XML or any type) from the server. while SOAP deals with xml and it accepts and returns data in XML format.