Forum Discussion
Thiyagu
May 22, 2024Cirrus
when HTTP_REQUEST {
if { ( [HTTP::method] equals "PUT" ) } {
switch -glob [string tolower [HTTP::uri]] {
"/x/*" -
"/y/*" {
pool PUT_X_Y
}
}
}
elseif
{ ( [HTTP::method] equals "POST" ) } {
switch -glob [string tolower [HTTP::uri]] {
"/x/*" {
pool POST
}
}
}
default {
pool POOL1
}
}