Adding Http Headers to HttpClient
I need to add http headers to the HttpClient before I send a request to a web service. How do I do that for an individual request (as opposed to on the HttpClient to all future requests)? I’m not sure if this is even possible. var client = new HttpClient(); var task = client.GetAsync(“http://www.someURI.com”) .ContinueWith((taskwithmsg) … Read more