I have set the routing api/Exchange/Groups/Members/{samAccountName} on my web api and is working
But if the value of samAccountName contains wording "prn.", It will return The resource cannot be found.
Example
http://localhost:4483/api/Exchange/Groups/Members/prn.agency1
http://localhost:4483/api/Exchange/Groups/Members/prn.agency2
http://localhost:4483/api/Exchange/Groups/Members/prn.agency3
I not sure where is wrong. Here is my code snippet
[HttpGet]
[Route("api/Exchange/Groups/Members/{samAccountName}")]
public HttpResponseMessage GetMembers(string samAccountName)
{
//Query from Exchange
}
Any idea?