This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Post for a REST api | |
/// </summary> | |
/// <param name="token">authorization token</param> | |
/// <param name="url">REST url for the resource</param> | |
/// <param name="content">content</param> | |
/// <returns>response from the rest url</returns> | |
public async Task<JObject> PostAsync(string token, string url, string content) | |
{ | |
byte[] data = Encoding.UTF8.GetBytes(content); |
NewerOlder