Merge branch 'bugfix/update_documentation_for_esp_http_client' into 'master'

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

Closes IDFGH-16112

See merge request espressif/esp-idf!41561
This commit is contained in:
Mahavir Jain
2025-08-29 13:21:02 +05:30

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