Re: HTTPS GET using Winsock

2023-04-05 Thread Man-wai Chang
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  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.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/CAGv=MJAtcLMQ81AEsnF3NEU5SGwQo6=oyacfxidg3z-siqp...@mail.gmail.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.

Re: HTTPS GET using Winsock

2023-04-05 Thread Man-wai Chang
I suppose I could do more using Winsock, maybe in the future... :)

On Mon, Apr 3, 2023 at 9:58 PM Alan Bourke  wrote:
>
> Via Winsock specifically ? Why complicate it?
>
>
>
> --
>   Alan Bourke
>   alanpbourke (at) fastmail (dot) fm
>
[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/CAGv=MJBo7YzP=ofm2OE+VjOazhVBBNQa=fnhga2h6vpmls7...@mail.gmail.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.

Re: HTTPS GET using Winsock

2023-04-03 Thread Alan Bourke
Via Winsock specifically ? Why complicate it?



-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

___
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/a83723c4-d16c-4f59-9bb1-e464c1289...@app.fastmail.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.


RE: HTTPS GET using Winsock

2023-04-03 Thread Tracy Pearson
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.