I have used the MSXML ActiveX control in the past. 

    LOCAL xml as MSXML2.XMLHTTP60
    xml = CREATEOBJECT("MSXML2.XMLHTTP.6.0")
    xml.open("GET","https://www.google.com";)
    xml.send()
    ?xml.status,xml.statusText
    * ?xml.responseText

These days I do use the Chilkat ActiveX control, but it isn't free.

HTH,
Tracy

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Man-wai 
Chang
Sent: Monday, April 03, 2023 7:48 AM
To: profoxt...@leafe.com
Subject: HTTPS GET using Winsock

Are there free Visual Foxpro source codes that do HTTPS GET via Winsock?

The following example does non-SSL HTTP GET:

Win32API/sample_383.md at master · VFPX/Win32API · GitHub
Winsock: retrieving Web pages using sockets (HTTP, port 80)
Retrieved data is stored in a Memo field of a cursor
https://github.com/VFPX/Win32API/blob/master/samples/sample_383.md

-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \   https://github.com/changmw/changmw
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/019901d96633$f6749120$e35db360$@powerchurch.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to