Added ability to create route for different request methods