[Route("api/test")]
public IEnumerable<Tests> GetTests()
{
//Retrieve ajax header here??
return ClassTestfuntions.Testmethod();
}
I have this asp.net web api method that i use to GET a list of rows from my db, im now also sending an header to this method within my ajax http get call but im not sure how to retrieve it's value, any help or input highly appreciated, thanks!