Showing results for 
Search instead for 
Did you mean: 
Constant Contact wants to help you succeed! We’re celebrating our professional service programs on the Constant Contact Community this month and you have a chance to try one of the services for free! Learn more.

coldfusion CFHTTP access to

New Member

coldfusion CFHTTP access to

Wonder if anyone can help me. I'm trying to retrieve a list of contacts via the API and we code in Coldfusion.

My coldfusion page contains:

However, we're getting "Error reported: 401".

I've chcked the username & password via a web browser and they work perfectly.

Anyone else had issues with CFHTTP?


New Member

Battle over!

Before anyone else wastes load of time trying to get CFHTTP to work I believe it doesn't. Not that it's CFHTTP fault but it doesn't support Digest Authentication.

As such we're now using cfx_http5 and it works!
New Member

Another way

If you want to avoid the custom tag and aren't afraid of a little Java in ColdFusion, you can use a few Open Source technologies to do it in in CFML.

The post here details how to do it: