coldfusion CFHTTP access to http://api.constantcontact.com

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?

Cheers,

Neil

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!

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:
http://www.terrenceryan.com/blog/index.cfm/2009/1/8/Digest-Authenticatio...