Final answer:
Both statements about REST APIs are true: they encode data in XML or JSON formats and can be used with SDN application planes. However, REST APIs have broad applications beyond SDN.
Step-by-step explanation:
The question is about REST APIs and the accuracy of two statements concerning them. The first statement claims that REST APIs encode data either in XML format or JSON format. This statement is true as REST APIs can use either of these formats, with JSON being the more popular due to its lightweight nature and easier integration with web applications. The second statement suggests that REST APIs are typically used to communicate with an SDN (Software-Defined Networking) application plane. While REST APIs can be used for such purposes, implying its typicality is misleading as REST APIs are broadly used across various domains for different purposes, not just within the context of SDN.
Therefore, the correct answer to the question is: c) Both 1 and 2 are true, but it's important to note the nuance in the typicality of REST APIs' usage with SDN application planes.