Could the lib support https urls?
Closed this issue · 5 comments
The https support is handled by libcurl and as long as your libcurl was compiled with openssl support, you should have support for https URLs that have are trusted by your system. If you need to tell libcurl which certificates should be trusted, there is a pull request #44 that is available to allow restclient-cpp to pass that information along to libcurl.
yup! the lib supports https. The tests itself are actually run against https as well https://github.com/mrtazz/restclient-cpp/blob/master/test/test_connection.cc#L24
That's greate. Thanks.
hi mrtazz~ i tried to post a request with https url, but i got a error return from curl which return code is CURLE_SSL_CONNECT_ERROR(35) i wonder whether some settings i need to set when i want to use https url ?
@SandaTong can you please add the example code you used and the platform (OS version, compiler version, etc) you are running on?