cURL / Mailing Lists / curl-library / Single Mail


Re: Looking for HTTPs Sample

From: Daniel Stenberg <>
Date: Thu, 10 Jan 2002 10:02:54 +0100 (MET)

On Wed, 9 Jan 2002, Avi Kavas wrote:

> I'm looking for a simple piece of code (written using CURL library) which
> makes HTTPs request (using POST request). I saw a sample in the /samples
> directory but it requires client side certificate (which I don't really
> need).

Okay, I put together a very simple and quick example that performs a mere
POST operation.

This example uses HTTP, but using HTTPS instead is only a matter of changing
the URL to use https:// instead of http://

As always, feel free to contribute *YOUR* examples and docs to help others.

    Daniel Stenberg -- curl groks URLs --
Received on 2002-01-10