Remove Ip overide
SuccessfulCode/BritishHorseRacingApi/master There was a failure building this commit

This commit is contained in:
2020-03-07 20:18:39 +00:00
parent 6a58df737b
commit ec0b7f2068
+2 -2
View File
@@ -37,13 +37,13 @@ namespace BritishHorseRacingApi
}
_lastRequest = DateTime.UtcNow;
}
public static string IpAddress = "192.225.208.11";
protected async Task<CustomHttpResponseMessage> SendRequest(string endpoint)
{
await DelayBetweenRequests();
var message = new CustomHttpRequestMessage(HttpMethod.Get, endpoint);
message.IpToOveride = IPAddress.Parse(IpAddress);
message.Headers.Add("Accept", "application/json, text/plain, */*");
await PresendRequestAlterations(message);