Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Setting a southbound (targetRequest) header

I need to set an http header on the target (southbound) request.

Is there a callback event when the target request is about to occur?

I've been able to add the headers to the request, but this seems a little indirect.

Solved Solved
0 4 470
1 ACCEPTED SOLUTION

Former Community Member
Not applicable

The only callbacks are in the documentation here.

To set the target dynamically, you can use the following variables:

req.targetHostname = xx;                
req.targetPort = xx;        
req.targetPath = xx;

View solution in original post

4 REPLIES 4