Questions tagged [cfhttp]

A ColdFusion/CFML tag that performs an HTTP request.

A ColdFusion/CFML tag that generates an HTTP request and handles the response from the server. See cfhttp in Adobe's CFML reference for details.

199 questions
5
votes
1 answer

Adding headers to HTTP request using cfhttp's addParam method

I'm new to Coldfusion and can't understand why I'm having so much trouble adding a couple of headers to an http request that I'm making with cfhttp. I'm trying to write the request using cfscript, and from everything I've read I should be able to…
Brad Marshall
  • 531
  • 5
  • 14
5
votes
1 answer

The request has exceeded the allowable time limit Tag: cfhttp

I am facing this issue on a daily basis. I am having an application which Catches the huge data from various applications in the nightly schedule jobs through a cfhhtp call/request. The problem here is that it calls the 'extensive list of scopes'…
Vasu
  • 319
  • 5
  • 19
4
votes
5 answers

ColdFusion CFHTTP Post to remote form does not return the results page, it just returns the input form

I am using ColdFusion 8. I am trying to use CFHTTP Post to submit the form at this page without a user having to enter the number and click Submit. https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES I've done with before…
Rich
  • 87
  • 2
  • 9
4
votes
5 answers

ColdFusion CFHTTP Post is doing a second GET request right after

I am using ColdFusion 8. I'm doing a CFHTTP Post to a remote server. The remote site has looked at their logs and they say my code is doing the POST, and then immediately doing a 2nd GET request. Here is my code (the URL has been changed):
Rich
  • 87
  • 2
  • 9
4
votes
1 answer

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" ) { cfhttpparam(type="header" name="host" value="[url]"); …
user17142477
4
votes
1 answer

CFHTTP POST, result is image, how to save

I found a web-site that clears exif data from an image. The source can either be an uploaded picture or a URL. I thought, perhaps, I could use this with CFHTTP to do this automatically for pictures I post to my web-site. I know I can probably run…
Richard Martin
  • 131
  • 1
  • 9
4
votes
1 answer

Upload Files from web url using Coldfusion

I have been allowing user to upload file via a form online like this:
Jack
  • 853
  • 1
  • 7
  • 20
4
votes
1 answer

Coldfusion CFHTTP handshake_failure

I am trying to send a SOAP request by CFHTTP with a client certificate. My test requests in SOAP UI are successful but when I try to send requests by CFHTTP I get the following error: I/O Exception: Received fatal alert: handshake_failure My CFHTTP…
kelseyelayne
  • 115
  • 9
4
votes
2 answers

View Raw HTML of CFHTTP call

Is there a way to output the raw html of a CFHTTP call? I am trying to see how some of the header authentication information is coming across. I am open to browser plugins or code updates whichever helps me see what is going on during the cfhttp…
Denoteone
  • 4,043
  • 21
  • 96
  • 150
4
votes
1 answer

Cfhttp result struct behaves as if null in CF8?

I'm trying to do some sanitation on the results of a call to Facebook but Coldfusion is telling me that the variable is null: FILECONTENT null
The error occurred on line 66. Here's the line that causes the error:
Carl Campbell
  • 87
  • 1
  • 5
4
votes
1 answer

Improve CFHTTP response time

I have an API that logs in an account and then performs a search on items that I want to place a bid on via a CFHTTP request as follows. Search.cfm:
CPB07
  • 679
  • 3
  • 13
  • 23
4
votes
3 answers

cfhttp dns resolution

i'm trying to get CFHTTP to talk to a domain that i have created for testing purposes on my test server. the address of the domain is "mydomain.example.com". everytime i try to connect using cfhttp i get an error stating: Your requested host…
rip747
  • 9,375
  • 8
  • 36
  • 47
4
votes
3 answers

Coldfusion limit to total number of threads

I've got some code that is trying to create 100 threaded http calls. It seems to be getting capped at about 40. When I do threadJoin I'm only getting 38 - 40 sets of results from my http calls, despite the loop being from 1 - 100. // thread http…
Pete
  • 4,542
  • 9
  • 43
  • 76
4
votes
1 answer

ColdFusion - How to limit data retrieved via CFHTTP?

I am using cfhttp to get documents and parse the content like so:
Michael Giovanni Pumo
  • 14,338
  • 18
  • 91
  • 140
4
votes
2 answers

ColdFusion and Streaming APIs... (i.e. Twitter)

Has anyone had any luck using ColdFusion as a way to collect data via streaming APIs? i.e. - https://dev.twitter.com/docs/streaming-api I know the best option is to use an app that literally sits on the server monitoring these portals. Just…
TheJason
  • 494
  • 6
  • 18
1
2
3
13 14