Question: Which Library for HTTPS?

Hi,

Simple question here, but what library would I use to make an HTTPS API request? I am using coreHTTP v2.1.0, but I don’t see any specification for HTTPS opposed to HTTP.

How would I go about sending HTTPS message instead of HTTP?

Hi @drowsell,
Yes, I think coreHTTP supports HTTPS with secure transport layer (to support TLS connection).

Take s3 download demo as reference. It uses Openssl_Connect() to connect HTTPS server based on TLS. Then call HTTPClient_Send() and call HTTPClient_ReadHeader() to send/get HTTPS request/response with secure transport layer (openssl_posix).

Thanks.

1 Like