I have written asp.net web.api method that accepts two parameters. It doesnt hit the web method when I call the method from postman. It works fine when I define the method to accept one parameter and call with one parameter but doesnt call when i define it with two parameters and call with two parameters
[HttpGet] [Route("api/terms/{id}/{invested}")] public IHttpActionResult Details(int id, bool invested) { var viewModel = GetTermsViewModel(id, invested); if (viewModel == null) return NotFound(); return Ok(viewModel); }