Skip to content

Commit

Permalink
removing signature helper and unused request in ApiRequest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Apr 17, 2020
1 parent 756879d commit eafafe4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 77 deletions.
14 changes: 0 additions & 14 deletions Nexmo.Api/Request/ApiRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -495,20 +495,6 @@ public static T DoPostRequestWithUrlContent<T>(Uri uri, Dictionary<string, strin
return JsonConvert.DeserializeObject<T>(response.JsonResponse);
}

/// <summary>
/// Sends an HTTP PUT request with Url Content
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="uri"></param>
/// <param name="parameters"></param>
/// <param name="creds"></param>
/// <returns></returns>
/// <exception cref="NexmoHttpRequestException">thrown if an error is encountered when talking to the API</exception>
public static T DoPutRequestWithUrlContent<T>(Uri uri, Dictionary<string, string> parameters, Credentials creds = null) {
var response = DoRequestWithUrlContent("PUT", uri, parameters, creds:creds);
return JsonConvert.DeserializeObject<T>(response.JsonResponse);
}

/// <summary>
/// Sends an HTTP DELETE
/// </summary>
Expand Down
63 changes: 0 additions & 63 deletions Nexmo.Api/Request/SignatureHelper.cs

This file was deleted.

0 comments on commit eafafe4

Please sign in to comment.