Page 1 of 1
Does PB support HTTPS or not?
Posted: Sun Sep 10, 2017 9:02 am
by MarcNL
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
Re: Does PB support HTTPS or not?
Posted: Sun Sep 10, 2017 10:31 am
by infratec
Re: Does PB support HTTPS or not?
Posted: Sun Sep 10, 2017 2:06 pm
by MarcNL
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.
Re: Does PB support HTTPS or not?
Posted: Sun Sep 10, 2017 2:30 pm
by infratec
No,
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?
Posted: Sun Sep 10, 2017 3:23 pm
by MarcNL
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:
Not exactly what I asked, but it works ;)
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?
Posted: Sun Sep 10, 2017 3:54 pm
by infratec
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.
Re: Does PB support HTTPS or not?
Posted: Sun Sep 10, 2017 7:51 pm
by Fred
Yes, it supports HTTPS for HTTP requests