Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Assign API key using assign message policy

Hi,

I am trying to append the query parms by adding the assign message policy. Below is the assign message policy which i am using. But it is not working. After assign message policy, i am using verify api key to validate which is failing with 401. can anyone please help me?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AssignMessage async="false" continueOnError="false" enabled="true" name="Assign-Message-2"> <DisplayName>Assign Message-2</DisplayName> <Properties/> <Set> <QueryParams> <QueryParm name="apikey">GNYSRySDw2WM63GcWoGDBihvmEAXDw02</QueryParm> </QueryParams> </Set> <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> <AssignTo createNew="false" transport="http" type="request"/> </AssignMessage>

0 5 564
5 REPLIES 5
Top Solution Authors