CoderSource.net
Search
Using POST in HTTPS protocol
Started by theDentist at 06-07-2006 2:54 PM. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
   06-07-2006, 2:54 PM
theDentist is not online. Last active: 1/5/2008 4:01:46 PM theDentist

Top 10 Posts
Joined on 12-05-2005
Posts 42
Using POST in HTTPS protocol

Hi everyone,

I have to send some data in XML to a server on the internet using HTTPS protocol with the POST method from a program written in MFC.  Any ideas where to start?  The XML I can handle, but I know nothing about coding an HTTPS protocol data transfer from a MFC program

Any suggestions gratefully received  Tongue Tied [:S]

Peter.


   Report 
   06-11-2006, 7:32 AM
Yasir is not online. Last active: 11/16/2006 10:02:40 AM Yasir

Top 10 Posts
Joined on 03-15-2006
Posts 44
Re: Using POST in HTTPS protocol
Hey Peter.

Have you tried with Chttpconnection class and its member function first crate istance of CInternetSession class. and then use it to get Chtppconnection object by calling gethttpconnection();
And then try the following functions of ChttpConnection
openRequest();
AddRequestHeaders(); //Can add xml file to send.
SendRequest();

Try it out if any problem occur feel free to contact.

Best Regards
-Yasir
   Report 
   06-12-2006, 4:50 PM
theDentist is not online. Last active: 1/5/2008 4:01:46 PM theDentist

Top 10 Posts
Joined on 12-05-2005
Posts 42
Re: Using POST in HTTPS protocol

Thanks Yasir, I give it a try

Regards

Peter     Confused [*-)]


   Report 
Codersource.Net » Programming » MFC Programming » Using POST in HTTPS protocol

MENU
Home
MFC 
C++
.Net
WIN32
Programming
Forum
My Articles
Welcome to Codersource.Net Login | Register | Faq  

Google
 

NOTES:


Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor. 

© Copyright 2003. All rights on content reserved by CoderSource.net. Contact    About Us