예제 #1
0
파일: Helpers.cs 프로젝트: DRESAAN/tvrename
        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));
        }
예제 #2
0
파일: Helpers.cs 프로젝트: DRESAAN/tvrename
        public static JObject JsonHTTPPOSTRequest(String url, JObject request)
        {
            String response = HTTPHelper.HTTPRequest("POST", url, request.ToString(), "application/json");

            return(JObject.Parse(response));
        }