Number of methods in CoAP?

2
5
4
3

The correct answer is C. CoAP has 4 methods: GET, PUT, POST, and DELETE.

  • GET is used to retrieve a resource.
  • PUT is used to create or update a resource.
  • POST is used to create a new resource or update an existing resource.
  • DELETE is used to delete a resource.

CoAP is a lightweight, RESTful protocol for constrained devices. It is designed to be efficient in terms of both bandwidth and power consumption. CoAP is often used in the Internet of Things (IoT) to connect devices such as sensors and actuators.

Exit mobile version