Is it possible to add constraints to HTTP verb-matched Url Mappings?
Here's my current definition:
"/a/$param1/b" {
controller = "a"
action = [GET: 'method1',
POST: 'method2'
]
}
Is it possible to add constraints to HTTP verb-matched Url Mappings?
Here's my current definition:
"/a/$param1/b" {
controller = "a"
action = [GET: 'method1',
POST: 'method2'
]
}
Sure, this seems to work: