Manage to perfom secure request

This commit is contained in:
2024-08-18 20:13:03 +02:00
parent a6b283d023
commit 3b5d2abcc0
6 changed files with 115 additions and 1 deletions

@ -127,6 +127,7 @@ char *http_client_exec(const http_request_opts *opts)
.user_data = local_response_buffer,
.url = opts->url,
.disable_auto_redirect = true,
.cert_pem = opts->root_ca,
};
esp_http_client_handle_t client = esp_http_client_init(&config);