esp32-course
esp32-course copied to clipboard
v5.1.1 Change esp32-course/_14_Rest_Client/v5.x/_1_get_data /main/ ***FIX***
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)); }