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
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-bounces@leafe.com] On Behalf Of Man-wai Chang Sent: Monday, April 03, 2023 7:48 AM To: profoxtech@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
Via Winsock specifically ? Why complicate it?
I suppose I could do more using Winsock, maybe in the future... :)
On Mon, Apr 3, 2023 at 9:58 PM Alan Bourke alanpbourke@fastmail.fm wrote:
Via Winsock specifically ? Why complicate it?
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]
Thanks! I am afraid ActiveX might vanish in future versions of Windows. But then, Foxpro is still 32-bit and basically English-only. :)
On Mon, Apr 3, 2023 at 9:56 PM Tracy Pearson tracy@powerchurch.com wrote:
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.responseTextThese days I do use the Chilkat ActiveX control, but it isn't free.
HTH, Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Man-wai Chang Sent: Monday, April 03, 2023 7:48 AM To: profoxtech@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]