Change the QueueLdapSync calls to use Post<T>(uri) with no body/data

This commit is contained in:
Ryan Gribble
2016-02-06 22:41:17 +10:00
parent 6965ac44b2
commit 1f13001fd8
22 changed files with 165 additions and 60 deletions
+7
View File
@@ -237,6 +237,13 @@ namespace Octokit
return response.HttpResponse.StatusCode;
}
public Task<IApiResponse<T>> Post<T>(Uri uri)
{
Ensure.ArgumentNotNull(uri, "uri");
return SendData<T>(uri, HttpMethod.Post, null, null, null, CancellationToken.None);
}
public Task<IApiResponse<T>> Post<T>(Uri uri, object body, string accepts, string contentType)
{
Ensure.ArgumentNotNull(uri, "uri");