Multiple HTTP POST requests with the same client handle

JonasL
Posts: 13
Joined: Mon Nov 28, 2022 4:37 pm

Multiple HTTP POST requests with the same client handle

Postby JonasL » Wed Mar 08, 2023 6:38 pm

Hello everyone,

I am trying to send two http post requests to ThingSpeak channel which would change the values of 2 fields. I am able to change the value of any particular field but I cant change multiple fields at the same time. I have followed an approach provided in: https://github.com/espressif/esp-idf/bl ... _example.c
,where multiple http requests were made with the same http client handle. I am providing my code and terminal messages which indicate that the http requests were successful, but the result on the channel feed doesn't show so. Note that the content length from the server response is different but http status code is the same. Any information regarding sending multiple POST requests would be appreciated. Thank you for your time.

Sincerely,
Jonas
Attachments
esp_http_server_response.txt
(3.32 KiB) Downloaded 188 times
esp_http_client.txt
(10.67 KiB) Downloaded 180 times

Who is online

Users browsing this forum: No registered users and 345 guests