Consider an ASP.NET Web API service that redirects
public class ThisController : ApiController { /* more methods */ public override HttpResponseMes
Try:
var handler = new HttpClientHandler() { AllowAutoRedirect = false }; HttpClient client = new HttpClient(handler);