Make https requests from a macro

Hi guys,

I am trying to make https requests in a macro but I get the message that I need to use -lib hxssl. Installing this does not work either and the page of hxssl tells me that it is no longer maintained.

Is there any advice on how to make a https request. This needs to work both in Windows and a Linux build environment.

Thanks!

Unfortunately this doesn’t work in macros (yet?) but a workaround is to use curl, if that’s on the system.

var result = Sys.command("curl", ["https://example.com/api/"]);

There is already an issue for SSL support in macros open.

Thanks @mark.knol. It seems like there is something planned for the 4.1 release. Until then I will check whether I can use this instead. Again thanks!