My C ++ application consists of sending via an HTTP connection directly to the Weblogic application server. You must modify it to publish using HTTPS.
* I run this application through Visual Studio. *
Any suggestions are welcome. Coding Updates Most Helpful
Below is the code that works fine for my HTTP connection.
What do I need to work with HTTPS?
strFormData = sFile; strHeaders = _T("Content-Type: application/x-www-form-urlencoded"); CInternetSession session; CHttpConnection* pConnection = session.GetHttpConnection(_T(Server), Port); CHttpFile* pFile = pConnection->OpenRequest(CHttpConnection::HTTP_VERB_POST, _T(Action)); result = pFile->SendRequest(strHeaders,(LPVOID)(LPCTSTR)strFormData, Data.GetLength());
source share