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.

Apigee QueryParam for get

Hi Team,

/person/?name ={dynamic val} & number= {dynamic val} & place = {dynamic val}                   (or)
/person/?name ={dynamic val} & number= {dynamic val}

Need a condition to block requests with above params alone

/person/?name ={dynamic val} & number= {dynamic val} & houseNo = {dynamic val}

If we get request with any other combinations alone with name and number except place, it has to allow without blocking.

e.g,, the above url with name, number & houseNo combination it has to allow without blocking

Tried,

<Condition>((proxy.pathsuffix ~~ "/person/?") and
                        ((request.queryparam.name != null and request.queryparam.number != null )
               or     (request.queryparam.name != null and request.queryparam.number != null and                                              request.queryparam.place != null)) and
                       (request.verb = "GET"))

</Condition>

in the above condition it is blocking for the below url as well. It has to allow withOut blocking, can someOne pls assist.

/person/?name ={dynamic val} & number= {dynamic val} & houseNo = {dynamic val}


Thanks,
Vidya

0 2 120
2 REPLIES 2