add action, resource into res object
case insensitive action in requests