C++ / Using OpenSSL with Dev-Cpp

Hello,

I have downloaded the Dev-Cpp OpenSSL Devpack, and I'm looking for an complete example for use this library.

I just want to be able to access a Web HTTPS page, and obtain an answer.

I'm not really familiar with this library.

Thanks in advance !
ValtyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mbodewesConnect With a Mentor Commented:
I haven't directly programmed against curl but this sample page includes code for basic HTTP (which covers HTTP GET I suppose), HTTP POST and use of openssl.

http://curl.haxx.se/libcurl/c/example.html

Note that this was returned by a Google search. I highly recommend using a library like curl, http seems simple but there are many snags such as cookies, sessions, encodings etc. etc.
0
 
mbodewesCommented:
Maybe take a look at the stunnel or curl sources as well? curl uses ssl to retrieve web-pages, so you might be able to use a subset of curl...
0
 
ValtyAuthor Commented:
I have looked for curl. I think it is a good way to do what I want to do : HTTPS POST and HTTPS GET.

If anybody have example code to do that, it would help me.
0
 
ValtyAuthor Commented:
Yes, I have founded this link tomorrow via Google, and I do tests : it's all that I need.

Thanks for let me know cURL !
0
 
ValtyAuthor Commented:
Thanks you !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.