I have this function in jQuery
var uri = "api/queries";
function test(){
    var params = {
        origin: $('#depair').val(),
        destination: $('#destair').val(),
        departure_date: $('#depdate').val(),
        currency: $('#currency').val(),
    }
    $.getJSON(uri, params)
        .done(function (data) {
            console.log(data);
    });
}
Which sends the request to this Controller:
public class QueriesController : ApiController
{
    [HttpGet]
    public string GetInfo()
    {
        return "blah";
    }
}
So, the request looks like this
http://localhost:55934/api/queries?origin=&destination=&departure_date=¤cy=
How do I access the parameters of the request from inside the controller GetInfo method?
 
     
     
    