Page 2 of 2
Re: Sample HTTPS Post Using WIN API
Posted: Mon Dec 18, 2017 10:55 pm
by infratec
http://www.purebasic.fr/english/viewtop ... 24&start=0
There you can find an example with DELETE and GET, it should be not a problem to modify it for POST.
It's from 2014

Re: Sample HTTPS Post Using WIN API
Posted: Tue Dec 19, 2017 7:49 am
by QuimV

OK @RichAlgeni
Thanks
Re: Sample HTTPS Post Using WIN API
Posted: Thu Dec 21, 2017 5:57 pm
by Kwai chang caine
Thanks for sharing
Unfortunately i'm behind a PROXY and your code not works
Even if i have enter Login / Password in this line
Code: Select all
InternetConnect_(internetHandle, webServer, #INTERNET_DEFAULT_HTTPS_PORT, "Login", "Password", #INTERNET_SERVICE_HTTP, 0, 0)
The code waiting at this line
Code: Select all
requestResponse = HttpSendRequest_(requestHandle, "", 0, "", 0)
Re: Sample HTTPS Post Using WIN API
Posted: Thu Dec 21, 2017 6:11 pm
by RichAlgeni
Re: Sample HTTPS Post Using WIN API
Posted: Thu Dec 21, 2017 7:23 pm
by Kwai chang caine
Thanks for your answer
