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
22
votes
8 answers

ColdFusion https connection failure

I have an API that runs fine on one of my two web servers but not on the other one or on my local machine, instead I get a connection failure when I send https requests as part the login process. The requests are very simple and works without a…
CPB07
  • 679
  • 3
  • 13
  • 23
15
votes
5 answers

How to POST JSON Data to Remote API Using Coldfusion CFHTTP

I'm sure that I'm completely botching this up but I got this far with the help of fellow Stack Overflow users, so thanks thus far. I need to POST JSON data to a remote API. Obviously I can't use jQuery due to SOP issues, and the remote API does not…
goxmedia
  • 327
  • 1
  • 4
  • 16
14
votes
1 answer

Coldfusion CFHTTP with SHA512-hmac signed REST request body

I am trying to make a signed request to the trading API at bitfloor.com (it's a REST API) Bitfloor gives me: 1) API Key (i.e. 6bd2b780-00be-11e2-bde3-2837371c3c3a) 2) Secret Key (i.e.…
Jay
  • 173
  • 6
8
votes
1 answer

CFHTTP: first request fast, following slow

I'm having a lot of trouble with CF10's CFHTTP at the moment. First, my test script:
Seybsen
  • 14,989
  • 4
  • 40
  • 73
7
votes
2 answers

How to emulate a real http request via cfhttp?

I need to emulate a real http request via cfhttp. I was getting rss feed with ColdFusion, but tonight they started to block my request and send an index page in response instead of rss fead. I added useragent for cfhttp, but it doesn't help. Opera,…
maectpo
  • 814
  • 2
  • 10
  • 22
7
votes
2 answers

Get a file from auto download url in coldfusion

I am trying to get a file from a auto download url using cfhttp. I am using the following code: In this case I have specified the file type as CSV so I am able to…
Abhishekh Gupta
  • 6,206
  • 4
  • 18
  • 46
7
votes
8 answers

ColdFusion CFHTTP I/O Exception: peer not authenticated - even after adding certs to Keystore

I'm currently working with a payment processor. I can browse to the payment URL from our server, so it's not a firewall issue, but when I try to use CFHTTP I get a I/O Exception: peer not authenticated. I've downloaded and installed their latest…
6
votes
1 answer

Converting API call from PHP and cURL to ColdFusion cfhttp

I am attempting to code an API call to a online testing company. They have provided a sample call in PHP and cURL that I need to implement in ColdFusion 11 using . So far my attempt has failed. The only response I get from their server /…
LocoRolly
  • 61
  • 1
6
votes
2 answers

How to CFDUMP the "Body" of an HTTP POST

Here's my question of the day. Let's say I have this on one page: start.cfm
Sung
  • 480
  • 2
  • 11
6
votes
2 answers

Downloading large file in ColdFusion using CFHTTP

I'm trying to download a large (600MB) binary file to the server using CFHTTP on Coldfusion 8: It's working fine for…
Lucas
  • 1,402
  • 1
  • 12
  • 18
6
votes
0 answers

ColdFusion 11 CFHTTP NTLM support

In ColdFusion 11, Adobe has added NTLM support. However I fail to understand how I can get this working. In particular, the documentation seems to be wrong: it states: For NTLM, to work, the redirect attribute must be set to false However, when…
Roeland
  • 820
  • 1
  • 9
  • 33
6
votes
2 answers

Convert an image from CFHTTP filecontent to binary data with Coldfusion

I'm trying to convert an image (jpg) loaded via cfhttp to binary data. I can't use cffile action="readBinary" as it is not a local file.
DEfusion
  • 5,533
  • 5
  • 44
  • 60
6
votes
2 answers

coldfusion cfhttp to PHP

I've designed a website Im running for a sports team I coach in Wordpress (more specifically PHP). For the past few years we have used an online web service that runs a stats based program in Coldfusion. They recently opened up a feed so users can…
Phrosty30
  • 127
  • 2
  • 13
5
votes
1 answer

fileExists() vs CFHTTP checking remote files

Is the fileExists remote file checking uses cfhttp head? I'm concerned on the speed of fileExists over CFHTTP when checking remote files
Vlad
  • 1,077
  • 2
  • 13
  • 27
5
votes
2 answers

CFHTTP & CloudFlare API: DELETE purge_everything not working

Has anyone else been able to DELETE purge_everything with CFHTTP? I can't seem to get ColdFusion CFHTTP to successfully purge a CloudFlare zone's cache. But I am able to do other things like list zones, etc. So I know I can successfully CFHTTP to…
Jules
  • 1,941
  • 15
  • 18
1
2 3
13 14