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.

187 questions
21
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
  • 649
  • 2
  • 12
  • 23
14
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
  • 317
  • 1
  • 4
  • 14
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
  • 5
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
  • 13,258
  • 4
  • 37
  • 68
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
  • 804
  • 2
  • 10
  • 22
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
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
  • 460
  • 2
  • 9
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
  • 741
  • 7
  • 27
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
  • 1
  • 13
5
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
  • 51
  • 1
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
  • 947
  • 2
  • 11
  • 25
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,841
  • 15
  • 18
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
  • 413
  • 5
  • 12
5
votes
1 answer

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…
Beginner
  • 6,036
  • 4
  • 15
  • 43
1
2 3
12 13