URI and content type support is which protocol feature?
A. http
B. udp
C. coap
D. spi
E. Both A and C
Answer: Option E
Solution (By Examveda Team)
Option A:HTTP
(Hypertext Transfer Protocol) is a protocol used for transferring hypertext requests and information on the internet. It supports URIs (Uniform Resource Identifiers) to locate resources and allows for specifying content types in HTTP headers, making this option relevant to the question.Option B:
UDP
(User Datagram Protocol) is a communication protocol used for sending messages across a network without establishing a connection. It does not support URIs or content types in the same way that application-layer protocols like HTTP do. Therefore, this option is not relevant to the question.Option C:
CoAP
(Constrained Application Protocol) is a specialized web transfer protocol for constrained devices and networks, often used in Internet of Things (IoT) applications. CoAP also supports URIs and can handle content types, making it a valid option for this question.Option D:
SPI
(Serial Peripheral Interface) is a protocol used for communication between microcontrollers and peripherals. It operates at a lower level than HTTP or CoAP and does not inherently support URIs or content types, making this option irrelevant.Conclusion: The correct answers are Option A:
HTTP
and Option C: CoAP
, as both protocols support URI and content type features.
Join The Discussion