Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Why get error 404 when I try to pass date variable in get request to web api

[HttpGet]
[Route("ReportDetailed/{clientId:int}/{date:datetime}")]
public IHttpActionResult ReportDetailed(int clientId, DateTime date )
{
    return Ok();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Why #error #I #pass #date #variable #request #web #api
ADD COMMENT
Topic
Name
1+3 =