Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Classic - HTTPRequest Authentication


Level 1

Hello, is there a way to centrally add authentication headers to all HTTP requests made by Campaign Classic? I am able to use the HttpClientRequest and do something like request.Headers["foo"] = bar but say for example within the HTML Content of a Delivery Template, I want to use the Include > URL option, I have no way to access the HttpClientRequest object in that case.

To get the necessary authentication headers, I need to use an execCommand() to call an external application, but this isn't available in all scripts e.g. Delivery Message nor is it efficient to keep calling my application for the header information every time I make a request, it has a TTL of 7 days.

I am using Adobe Campaign Classic v. 6.1.1.

Thank you.

0 Replies


Community Advisor


You can put a forwarding proxy between Campaign and the internet, using iptables to redirect traffic through it.

The alternative is execCommand, which isn't too bad. HttpClientRequest is just libcurl.