My api client code sends an authentication token in the querystring like:
www.example.com/api/user/get/123?auth_token=ABC123
I\'m using Mvc
Another way to do it, similar to Badri's:
string qsValue = string.Empty; if (Request.QueryString.HasValue) { NameValueCollection queryStringNameValues = HttpUtility.ParseQueryString(Request.QueryString.Value); qsValue = queryStringNameValues.Get("auth_token"); }