Difference between SOAP and REST APIs

SOAP API
REST API
Simple Object Access Protocol
Representational State Transfer
It is based on standard XML format
It is based on URI
It works with WSDL
It works with GET, POST, PUT, DELETE
Works over with HTTP, HTTPS, SMTP, XMPP
Works over with HTTP and HTTPS

REST uses stateless protocol. So, it does not require the server to retain session information or status about each communications partner for the duration of multiple requests. REST API requires TLS protocol.

Cheers!!!

No comments:

Post a Comment