I have an Asp.Net Web Api application which takes ip address as input and return the country of that respective ip. when I pass the below url
http://localhost:portno/xx.xx.xx.xx
it throws Error 404
can any one tell me why?
I have an Asp.Net Web Api application which takes ip address as input and return the country of that respective ip. when I pass the below url
http://localhost:portno/xx.xx.xx.xx
it throws Error 404
can any one tell me why?
Short hacky answer: Add a trailing forward slash. IIS thinks it's a file at the end of hte URL.
Longer, more elegant answer: Check out these links for cleaner fixes that require more work: