Requirement is to write a controller to handle POST requests from the below urls:
http://hostname:port/com/prod1?id=2&action=add
http://hostname:port/com/prod1?id=2&action=minus
http://hostname:port/com/prod2?id=2&action=add
http://hostname:port/com/prod2?id=2&action=minus
Can I have two methods, one for mapping urls with action=add, and another for urls with action=minus? All the requests are POST.