I have the code below, how would the correct route look? How can I test the call
//http://localhost:1608/api/ApiCidade/consulta/clienteLoginSenha/
[HttpGet]
// [Route("consulta/clienteLoginSenha/{email:long}/{senha:long}")]
[Route("consulta/clienteLoginSenha/email{email}/senha/{senha}")]
public HttpResponseMessage ClientePorLoginSenha(string email, string senha)
{
try
{
var tCliente = new ClienteAplicacao();
var listarDeClientes = tCliente.ListarPorLoginSenha(email,senha);
return Request.CreateResponse(HttpStatusCode.OK, listarDeClientes.ToArray());
}
catch (Exception ex)
{
return Request.CreateResponse(HttpStatusCode.BadRequest, ex.Message);
}
}