pass request and resposne object to action