REST APIs encode data either in XML format or JSON format.

Boost your exam preparation with Boson Practice Exam. Study with quizzes, flashcards, and comprehensive explanations. Ace your exam confidently with expert guidance!

Multiple Choice

REST APIs encode data either in XML format or JSON format.

Explanation:
REST APIs deliver data as representations over HTTP, and those representations are usually serialized into a format the client can parse. The two most common serialization formats you’ll see are JSON and XML. Saying data can be encoded in either XML or JSON reflects the typical practice and doesn’t imply exclusivity—many REST services use JSON today, while XML is still used in some ecosystems, and other formats can be used as well. The important idea is that REST is flexible about how data is represented, not tied to a single format. The statement about SDN data planes is unrelated to the general use of REST for web services.

REST APIs deliver data as representations over HTTP, and those representations are usually serialized into a format the client can parse. The two most common serialization formats you’ll see are JSON and XML. Saying data can be encoded in either XML or JSON reflects the typical practice and doesn’t imply exclusivity—many REST services use JSON today, while XML is still used in some ecosystems, and other formats can be used as well. The important idea is that REST is flexible about how data is represented, not tied to a single format. The statement about SDN data planes is unrelated to the general use of REST for web services.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy