Remove Ip overide
SuccessfulCode/BritishHorseRacingApi/master There was a failure building this commit
SuccessfulCode/BritishHorseRacingApi/master There was a failure building this commit
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user