I'm developing an ASP.NET MVC application as an API for my mobile application.
I'm going to send some parameters using http GET
method.
When I debug my application, http://localhost:58757/
is mapped to http://localhost:58757/home/index
.But I don't know how to send parameters to controllers of home . Currently I use its complete URL i.e. http://localhost:58757/home/index?userID=10&language=en
to pass parameters. I want to know are there any methods so I can remove /home/index
from this URL and still passing parameters?