I'd like to have a ApiController that has an action with a URI or URL parameter.
http://testserver/api/Controller?id=http://www.stackoverflow.com
I implemented actions like:
public bool Get(string id)
{
...
}
or
public bool Get(Uri id)
{
...
}
However: Whenever I call the URL as stated above, I get an 400 - Error - Bad Request.