예제 #1
0
        private static string Deal_POST_Request(string Request_URL, string Encode)
        {
            string Return_String = string.Empty;

            switch (Encode)
            {
            case "UTF-8":
                Return_String = UrlRequest.HttpPost(Request_URL, "", Encoding.UTF8);
                break;

            case "Unicode":
                Return_String = UrlRequest.HttpPost(Request_URL, "", Encoding.Unicode);
                break;

            case "BigEndianUnicode":
                Return_String = UrlRequest.HttpPost(Request_URL, "", Encoding.BigEndianUnicode);
                break;

            case "ASCII":
                Return_String = UrlRequest.HttpPost(Request_URL, "", Encoding.ASCII);
                break;
            }


            return(Return_String);
        }