I’m trying to call an api for a payment processor (PayFacto) with cfhttp and I get the error 403 Forbidden. At first I thought it was a certificate problem, so I installed the certificate with the server admin. Same error after a Lucee restart. Then I tried to install it in the keystore directly with the keytool. Same error after a Lucee restart. Note that I’m able to call this url with a browser on the server.
The code is simple
<cfhttp url="https://test.api.payfacto.com/v1/purchase" method="get" result="myresult"> <cfdump var="#myresult#">
After, I thought it was coming from the tls support. I tested their domain on ssllabs.com and they support tls from 1.1 to 1.3.
Any idea? Is someone able to call this url with cfhttp? It should return a 405 error (method not allowed).
Java 1.8.0_181 (Oracle Corporation) 64bit