esp32-course icon indicating copy to clipboard operation
esp32-course copied to clipboard

v5.1.1 Change esp32-course/_14_Rest_Client/v5.x/_1_get_data /main/ ***FIX***

Open Beauxrel opened this issue 1 year ago • 0 comments

Could not build without changing status and content length to int.

{ ESP_LOGI(TAG, "HTTP GET status = %d, content_length = %d", esp_http_client_get_status_code(client), esp_http_client_get_content_length(client)); }

{ ESP_LOGI(TAG, "HTTP GET status = %d, content_length = %d", (int)esp_http_client_get_status_code(client), (int)esp_http_client_get_content_length(client)); }

Beauxrel avatar Sep 29 '23 19:09 Beauxrel