Someone could give me a light? I need to receive a call no matter what type of service it will only do this, where it will receive a URL in the old way so
The problem is, the url can anyway come up with any special characters, and I need to bypass the URL security system to be able to accept any kind of URL that might have come ... some light?
// GET api/values/5
[Route("api/values/{caminho}")]
//[AcceptVerbs("GET")]
public RedirectResult Get( string caminho)
{
string uri = Request.RequestUri.ToString();
indeBanco = caminho.IndexOf("db");
banco = caminho.Substring(indeBanco + 3);
}