Does PB support HTTPS or not?

Just starting out? Need help? Post your questions and find answers here.
MarcNL
User
User
Posts: 34
Joined: Mon Oct 25, 2010 4:04 pm

Does PB support HTTPS or not?

Post 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
infratec
Always Here
Always Here
Posts: 7581
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Does PB support HTTPS or not?

Post by infratec »

MarcNL
User
User
Posts: 34
Joined: Mon Oct 25, 2010 4:04 pm

Re: Does PB support HTTPS or not?

Post 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.
infratec
Always Here
Always Here
Posts: 7581
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Does PB support HTTPS or not?

Post 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. :wink:
MarcNL
User
User
Posts: 34
Joined: Mon Oct 25, 2010 4:04 pm

Re: Does PB support HTTPS or not?

Post 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.
infratec
Always Here
Always Here
Posts: 7581
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Does PB support HTTPS or not?

Post 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.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Does PB support HTTPS or not?

Post by Fred »

Yes, it supports HTTPS for HTTP requests
Post Reply