Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
HTTPS GET with Client CertificateSimple HTTPS GET request to download the HTML of a web page. Uses a client digital certificate for the SSL connection. LOCAL loHttp LOCAL lnSuccess LOCAL loCert LOCAL lcHtml loHttp = CreateObject('Chilkat.Http') * Any string unlocks the component for the 1st 30-days. lnSuccess = loHttp.UnlockComponent("Anything for 30-day trial") IF (lnSuccess <> 1) THEN ? loHttp.LastErrorText QUIT ENDIF loCert = CreateObject('Chilkat.Cert') lnSuccess = loCert.LoadPfxFile("myCert.pfx","secret") IF (lnSuccess <> 1) THEN ? loCert.LastErrorText QUIT ENDIF loHttp.SetSslClientCert(loCert) * Send the HTTP GET and return the content in a string. lcHtml = loHttp.QuickGetStr("https://www.paypal.com/") IF (lcHtml = NULL ) THEN ? loHttp.LastErrorText ELSE ? lcHtml ENDIF |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.
Mail Component · .NET Email Component · ASP Mail Component · XML Parser