Hello All,
There's an example for CoAP-Clienthttps://github.com/espressif/esp-idf/tr ... oap_client in ESP-IDF which is used to GET data. Now I was trying to do a project to POST data to server, However I couldn't proceed since there's no POST functions I could find in it's libraries too.
If there's an example with POST data or someone has developed some simple application code for POST data please do help.
Regards,
COAP "POST" Example code
Re: COAP "POST" Example code
You can change code from COAP_REQUEST_GET to COAP_REQUEST_POST. https://github.com/espressif/esp-idf/bl ... ain.c#L134
Who is online
Users browsing this forum: Baidu [Spider] and 159 guests