PxPlus User Forum

Twitter Twitter Twitter

Author Topic: pxplus/web/request curl -k  (Read 1399 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
pxplus/web/request curl -k
« on: February 19, 2019, 04:37:20 PM »
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

  • Gold Member
  • ****
  • Posts: 70
    • View Profile
Re: pxplus/web/request curl -k
« Reply #1 on: February 19, 2019, 06:21:23 PM »
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

  • Diamond Member
  • *****
  • Posts: 175
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: pxplus/web/request curl -k
« Reply #2 on: February 20, 2019, 09:20:22 AM »
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.