@camrawne wrote:
I’m attempting to use ofURLFileLoader::handleRequest to make some basic GET and POST requests. I get an SSL connection error whenever I make a request to an https url. Is this the intended behavior? If so, is there another simple way to make https requests using this class?
A note: If I change line 183 in ofURLFileLoader.cpp from
curl_easy_setopt(curl.get(), CURLOPT_SSL_VERIFYHOST, 0);
to
curl_easy_setopt(curl.get(), CURLOPT_SSL_VERIFYHOST, 2);
the request works and I no longer get the error. I’d rather not modify parts of the built-in OF code if possible, though.
Posts: 1
Participants: 1