What is a primary difference in the data format used by RESTful APIs compared to SOAP APIs?

  • JSON
  • XML
  • YAML
  • HTML
The correct option is JSON. RESTful APIs primarily use JSON (JavaScript Object Notation) for data format due to its lightweight and easy-to-read structure. Unlike SOAP, which commonly employs XML, JSON is more concise and suitable for web-based communication.
Add your answer
Loading...

Leave a comment

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