pxplus/web/request curl -k

Started by Jeffrey Ferreira, February 19, 2019, 04:37:20 PM

Previous topic - Next topic

Jeffrey Ferreira

Hello
i'm trying to use pxplus web request.
my code wasnt working 403 Forbidden.
to test my code i used curl and to get it to work i had to use the -k flag
is there any equivalent to this curl -k that i can use in pxplus web request
or should i just use curl
thanks

jeff

Mike Hatfield

Hello Jeffrey,
I posted a request "FTPS instead of FTP or SFTP" in January.
Our hosting service has updated their ssl processing for FTP to force TLS
We were trying to use web/ftp but couldn't get it to work.
We couldn't find a way to get around the certificate processing.
The equivalent of the -k option.
In the end we built the curl string and used invoke which works perfectly.
We would have preferred to stay completely with PxPlus code.
Mike Hatfield
Mike H

Jeffrey Ferreira

Thanks for the feedback Mike.  I think the issue might be the ip address is not whitelisted because I couldn't get curl to work on the server. I was testing curl on my desktop before I put on server.