From a45c94c2bdc64c91ccb5d6bbba46da248c57f8e5 Mon Sep 17 00:00:00 2001 From: Steve Hamblett Date: Mon, 14 Oct 2024 10:13:22 +0100 Subject: [PATCH] Issue 198 (#199) --- lib/src/coap_client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/coap_client.dart b/lib/src/coap_client.dart index d82c4844..c4f65759 100644 --- a/lib/src/coap_client.dart +++ b/lib/src/coap_client.dart @@ -226,7 +226,7 @@ class CoapClient { final int maxRetransmit = 0, final CoapMulticastResponseHandler? onMulticastResponse, }) { - final request = CoapRequest.post( + final request = CoapRequest.put( uri, confirmable: confirmable, accept: accept,