Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

Classic - HTTPRequest Authentication

Avatar

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.

1 Reply

Avatar

Community Advisor

Hi,

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.

Thanks,

-Jon