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

Pattern ignorecase = true, and ignorecase = false in extracting query param, what is the desired response

Not applicable

@Varun Singh

I am using extract variable policy. I want to extract one query param which can be passed in any case ( case insensitive, and any combinations of upper case and lower case should work. What is the approach that i should follow to accept query param with case insensitive comparison.

I tried with pattern ignore case = true.

The request below :-

But it is accepting the request only when i am giving it in the way i have named the query param and the dynamic variable as shown below.

Queryparam name = " validitySec"

<Pattern ignorecase = true >{validitySec)<\Pattern>

What should I do so that it accepts ValiditySec, VALIDITYSEC, validitysec and such combinations.

2 4 3,890
4 REPLIES 4