public static JObject JsonHTTPGETRequest(String url, Dictionary <string, string> parameters, String authToken) { String response = HTTPHelper.HTTPRequest("GET", url + getHTTPParameters(parameters), null, "application/json", authToken); return(JObject.Parse(response)); }
public static JObject JsonHTTPPOSTRequest(String url, JObject request) { String response = HTTPHelper.HTTPRequest("POST", url, request.ToString(), "application/json"); return(JObject.Parse(response)); }