Hi,
What is the difference when I use Set Headers and Add Headers with Assign Message Policy. Both the approaches are working for me.
<Set> <Headers> <Header name="findme">{request.queryparam.search}</Header> </Headers> </Set> <Add> <Headers> <Header name="findme">{request.queryparam.search}</Header> </Headers> </Add>
Solved! Go to Solution.
Hi @Siva Prasad Rao Janapati, If there is no existing value, then Set and Add are equivalent.
If there is an exisiting value, Set will over-write any existing value & Add will append to any existing value.
Moreover the sub-elements of <Set>
support the dynamic string substitution feature called message templating.