public static string GetString(string url, Encoding encoding = null) { return(RequestUtility.HttpGet(url, encoding)); }
public static T GetJson <T>(string url, Encoding encoding = null) { string returnText = RequestUtility.HttpGet(url, encoding); return(JsonConvert.DeserializeObject <T>(returnText)); }