Complete the code to specify the CoAP method for a GET request.
coap_request.method = '[1]'
The GET method is used to retrieve data in the CoAP request-response model.
Complete the code to set the CoAP response code for a successful content response.
coap_response.code = '[1]'
The response code 2.05 Content indicates a successful response with the requested content.
Fix the error in the CoAP message type assignment for a confirmable message.
coap_message.type = '[1]'
CON stands for Confirmable message type in CoAP, which requires acknowledgment.
Fill both blanks to create a CoAP request with method POST and message type NON.
coap_request.method = '[1]' coap_request.type = '[2]'
POST is used to send data, and NON is a non-confirmable message type that does not require acknowledgment.
Fill all three blanks to define a CoAP response with code 2.01 Created, type ACK, and method PUT.
coap_response.code = '[1]' coap_response.type = '[2]' coap_request.method = '[3]'
2.01 Created indicates resource creation success, ACK is acknowledgment message type, and PUT is used to update or create resources.
