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
0
votes
1 answer

Replace url in all hrefs inside body tags

I am using cfhttp to get a website . I want to replace all the links inside the body tags. Importantly I don't want to mess up the stylesheets etc in the head. I want to do the following: In the external web page body we may find a link:
0
votes
0 answers

client cert and clientcertpassword in cfhttp

Recently I am done with the SSL certification installation procedure in the Coldfusion Truststore, I'm getting Attribute Validation error now which clearly states that I need to have cfhttp in my code. I understood that. So,I'll have to use cfhttp…
Jack
  • 989
  • 3
  • 13
  • 24
0
votes
1 answer

CFHTTP returning different cookies to XMLHttpRequest or Fiddler

I have the following CFHTTP function which should return 3 cookies (XSRT-TOKEN, hl, and EASFC-WEB-SESSION) but instead only returns a JSessionID cookie.
CPB07
  • 679
  • 3
  • 13
  • 23
0
votes
1 answer

Trying to use Cfhttp to post a image to a remote server that uses iFrame to upload Images

**I am tyring to upload a image to a remote server using cfhttp, this is the basic code the remote server uses , they are using AjaxUploader and Jquery , I cant figure out how to send the image, i would also like to get back the name of the image…
0
votes
0 answers

cfhttp showing "403 Forbidden" for correct URLs

I am making a cfhttp call to a URL.The URL is opening fine on my machine. The URL is also not an SSL encrypted URL.But I am getting cfhttp.statuscode as "403 Forbidden". Please Let me know is there any way to fix the issue. Codes : {
0
votes
1 answer

cfhttp in cfloop limit? use cfthread

I'm currently trying to develop an API and the stage where I'm at just now is to populate a table with a full data set (ID, first name, last name, dob etc). The way I've written this is to use a cfloop from 1 to 500,000 (as I don't know what range…
CPB07
  • 679
  • 3
  • 13
  • 23
0
votes
2 answers

CFHTTP Response - Set XML values in variables

I'm making a CFHTTP request which is returning the following XML in the fileContent: 1 123456 28736389714 myemail@email.com
CPB07
  • 679
  • 3
  • 13
  • 23
0
votes
2 answers

CFHTTP running longer than Timeout specified

I'm using ColdFusion 5 and specifying a timeout=2 on the CFHTTP tag. But I've seen the CFHTTP take much longer, sometimes as much as 8 seconds. I thought the timeout parameter was the max time the CFHTTP would execute. Has anyone seen this before?
Rich
  • 87
  • 2
  • 9
0
votes
1 answer

ColdFusion Post To Twitter Authentication Error

First off, my project requires me to make my own module so I can't use the various packages and products out there. Having said that, using the correct token, consumer_key, consumer_secret and token_secret variables, creating the correct Base…
user1100412
  • 699
  • 1
  • 10
  • 22
0
votes
1 answer

Why does CFHTTP return I/O Exception for a file path when trying to upload an image in Coldfusion?

I'm running Coldfusion8 and have a cfc which handles image processing. The cfc runs fine when grabbing images from external sources, putting them into a temp storage, resizing and saving to S3. I now tried to run a new set of images from manual…
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
2 answers

How to validate and delete an image in Coldfusion uploaded by cfhttp?

I'm running Coldfusion8 and need to pick up and store images from a remote location and am trying to validate whether whats being picked is actually an image. I usually do validation like this:
frequent
  • 27,643
  • 59
  • 181
  • 333
0
votes
1 answer

ColdFusion special unicode characters in the content returned by cfhttp

In the content retrieved with ColdFusion http object there are some characters that are returned as question marks; namely these are roman numerals (like Ⅱ) which are displayed without problems when I visit the same page with a browser. The server…
Kirill G.
  • 910
  • 1
  • 14
  • 24
0
votes
1 answer

Read-only after getting file in ColdFusion with cfhttp

I'm creating a scheduled task which downloads an excel file from a third-party site and then updates the database accordingly. I can successfully download the file via a url (ie http://www.example.com/myExcel.xls). But when I try to read it…
Juggala
  • 21
  • 4
0
votes
2 answers

ColdFusion oAuth Authorization header not passing

My authorisation header looks like this (params altered slightly for security and line breaked for easier reading):
user460114
  • 1,848
  • 3
  • 31
  • 54
0
votes
2 answers

Close Connection and Keep Executing

How can I return a 400 status code and close the connection, without aborting script execution? I'm looking to initiate execution of the script using but not wait for the script to end before returning.
Yisroel
  • 8,164
  • 4
  • 26
  • 26
1 2 3
13
14