Manage to perfom secure request
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user