Page 1 of 1

esp_http_client chunked REQUEST

Posted: Fri Dec 07, 2018 8:18 pm
by mincher
Is it possible to send a chunked request with the esp_http_client API?

I'd like to send the request (POST) and headers (including Transfer-Encoding: chunked) and then be able to send the data in chunks, such as:

send_chunk(ptr1, len1);
send_chunk(ptr1, len2);
...
send_chunk(ptrN, lenN);
send_chunk(NULL, 0);


Do I need to roll my own version of the esp_http_client_perform to do this using the _write to send the chunk header and the data?

Thanks.

Re: esp_http_client chunked REQUEST

Posted: Sat Sep 12, 2020 6:22 pm
by mikea101
Espressif: Any solution for this?

Without a chunked method, the esp_http_client is not very useful!!