SOAP uses _____ for message format, while REST typically uses _____.

  • HTML, XML
  • JSON, HTML
  • JSON, YAML
  • XML, JSON
SOAP (Simple Object Access Protocol) uses XML (Extensible Markup Language) for message format, while REST (Representational State Transfer) typically uses JSON (JavaScript Object Notation). XML is a markup language that is structured and can describe data, making it suitable for complex message formatting in SOAP. JSON is lightweight and commonly used in REST APIs for its simplicity.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *