In this blog post, I would like show how to create Rest api and how to apply MVC1 routing to handle different request simply from a controller class.
For that, first we will create handler and controller class for rest structure. Then we will add mvc1 controller class and model class to process business logic.
And finally we will create a service to handle rest requests.