I am an entry level software developer and often during job interviews they use to ask me what is the difference between soap and rest api.
I tried to search it online and I did not find anything that satisfies me 100%; what I understood is:
- soap uses different protocols, rest just http/https
- rest accepts several data format, soap only xml
- rest is stateless, soap not
Are all of them correct? Is there any other relative difference?
New contributor
user25450194 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.