199 questions
1 vote
1 answer
179 views
cfhttp returning Connection Failure from my site, but working from testing in trycf.com
I am trying to test a very simple cfhttp request on my server. <cfhttp result="result" method="GET" charset="utf-8" url="https://...
0 votes
1 answer
41 views
Can I use CFHTTP to get Session information from Stripe
I am passing these tests back locally while I develop this the the return I get from Stripe, is there a quick way to parse this out with CFHTTP or something else, an example would be great I have done ...
0 votes
1 answer
468 views
ColdFusion 2018: I/O Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
I am facing an issue in my application when calling HTTPS services with CFHTTP we are using below versions: ERROR I/O Exception: PKIX path building failed: sun.security.provider.certpath....
1 vote
0 answers
157 views
Facebook graph API me endpoint errors out the first time and successful the next time
I am using facebook login in my coldfusion application. I went through all the steps to get access_token. I am making cfhttp call to "/me" endpoint with access_token and fields parameters ...
1 vote
0 answers
169 views
ColdFusion is executing unwanted concurrent CFHTTP calls
I'm building a ColdFusion app that pulls data from a 3rd party service and am running into an issue where CF is executing unwanted multiple concurrent calls to the same API endpoint. The API has a few ...
5 votes
1 answer
2k views
Proper way of adding body to cfhttp
I want to make an API request using lucee/coldfusion. I setup my token request like this: cfhttp( url="[myurl]" method="POST" result="token" ) { ...
0 votes
1 answer
2k views
Problems in attaching a PaymentMethod to a Customer using Stripe API and cfhttp
Following the Stripe documentation, which uses curl, I have tried the code: <cfhttp method = "POST" url="https://api.stripe.com/v1/payment_methods/pm_1LCuutGKxC2502V8WNrkE3Ja"...
0 votes
1 answer
103 views
Problems passing id values to Stripe API objects using cfhttp
I am able to pass field values to Stripe's Customer object using the code <cfhttp method = "POST" url="https://api.stripe.com/v1/customers"> <cfhttpparam type=&...
0 votes
1 answer
622 views
Passing child parameters to Stripe API from CFML
I can connect to the Stripe API using the code <cfhttp method = "POST" url="https://api.stripe.com/v1/customers"> <cfhttpparam type="header" name="...
1 vote
0 answers
361 views
CFHTTP and the differences in OAuth2.0 POST login methods
I'm constantly doing login POSTs to various APIs using Coldfusion 2016. No matter how specific the API documentation seems to be (with CURL and HTTPie examples) it always seems to be a trial and error ...
1 vote
1 answer
1k views
Coldfusion cfhttp multipartType - How do I send JSON and file in same request?
I'm up against an API that has very sparse documentation. I've tried everything (more below) but the end result is a response from the 3rd party server: The given path's format is not supported. Here ...
2 votes
1 answer
324 views
Problem adding files with ColdFusion via Monday.com API
I’ve been playing with the Monday API and have made a lot of progress towards getting it ready to be available in our system and a couple of other tools we use, however, I’ve hit a bit of a snag when ...
1 vote
0 answers
903 views
Coldfusion cfhttp Connection Failure: Status code unavailable error with HTTP url not HTTPS
We are running Coldfusion 2016 and I have a cfhttp tag that is returning the following error: Connection Failure: Status Code Unavailable. I've read a lot of threads on this error but they all seem to ...
0 votes
1 answer
326 views
Coldfusion CFHTTP PATCH Method
I am doing a basic PATCH method call to an API using cfhttp and Coldfusion 2021. No matter what I try to do, it changes the content-type on the call to x-www-form-urlencoded when it is set to ...
0 votes
0 answers
321 views
ColdFusion cfhttp request body not being sent to NodeJS server
I'm trying to send a cfhttp request with a body content to a NodeJS server, but it's being sent empty. ColdFusion: <cfset data = { test: "abc", id: 5 } /> <cfhttp result=&...