fix(esp_http_client): fixed documentation for API esp_http_client_set_post_data()

Closes https://github.com/espressif/esp-idf/issues/17053
This commit is contained in:
nilesh.kale
2025-08-27 13:17:08 +05:30
parent 42b065bdce
commit 2d437a6d9a

View File

@@ -369,7 +369,8 @@ esp_err_t esp_http_client_set_url(esp_http_client_handle_t client, const char *u
/** /**
* @brief Set post data, this function must be called before `esp_http_client_perform`. * @brief Set post data, this function must be called before `esp_http_client_perform`.
* Note: The data parameter passed to this function is a pointer and this function will not copy the data * Note: Post data persists between requests and must be cleared manually.
* To avoid post data carryover, set the post data to NULL before starting any subsequent requests.
* *
* @param[in] client The esp_http_client handle * @param[in] client The esp_http_client handle
* @param[in] data post data pointer * @param[in] data post data pointer