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

Truncating JSON headers - Unable to read the complete headers which have json values in them.

Not applicable

We are using extract variables to retrieve a header containing json values. Only a part of the value is assigned/read into the context variable.

<DisplayName>Extract Variables-1</DisplayName> <Properties/> <Header name="x-ads-test-json"> <Pattern ignoreCase="false">{header-json1}</Pattern> </Header>

curl -H "header-name:[{'from':'foo1.txt','to':'tofoo1.txt'},{'from':'foo2.txt','to':'tofoo2.txt'}]" "https://xyz.com/proxy_name"

For the example request above, the context variable has "[{'from':'foo1.txt'" instead of the entire value.

How can we get complete list of values.

0 3 169
3 REPLIES 3