Hi,
In the interview of 2015 I read that Fred responds to question 55:
“Fred: HTTP lib already support HTTPS. About FTP, I don't know I need to take a look but it's a good idea.”
I’m confused as I thought this isn’t possible.
So, if it’s possible, can someone provide me with a small example of how to access a web service (POST/GET) using HTTPS?
NB: I need it on macOS.
Thanks!
http://www.purearea.net/pb/english/interview_2015.htm
Does PB support HTTPS or not?
Re: Does PB support HTTPS or not?
Yes, I think I did, but these two threads are using an external lib, which I try to avoid. I was referring to the standard http functions of PB.infratec wrote:You didn't search enough: :mrgreen:
http://www.purebasic.fr/english/viewtop ... 13&t=68715
http://www.purebasic.fr/english/viewtop ... 13&t=67019
Bernd
Re: Does PB support HTTPS or not?
No,
they don't use an external lib
The additional file only enables access to the low level functions of the inbuild lib.
they don't use an external lib

The additional file only enables access to the low level functions of the inbuild lib.

Re: Does PB support HTTPS or not?
Not exactly what I asked, but it works ;)infratec wrote:No,
they don't use an external lib :!:
The additional file only enables access to the low level functions of the inbuild lib. :wink:
Thanks for pointing to this; I was afraid that I had to use third-party libs, which I don't want. But this seems a safe solid solution.
Although I'm happy with this (I've got my solution), I'm still wondering if PB has HTTPS build in, without the need for such external include files. Again, just interested to know. The interview seems to indicate that.
Re: Does PB support HTTPS or not?
It is 'inbuild' like http.
You can make GET requests via ReceiveHTTP... http or https is working.
If you need POST or others you have to do this by yourself also for http.
You can make GET requests via ReceiveHTTP... http or https is working.
If you need POST or others you have to do this by yourself also for http.
Re: Does PB support HTTPS or not?
Yes, it supports HTTPS for HTTP requests