예제 #1
0
        /// <summary>
        /// APIコマンドをGETで生成。
        /// </summary>
        /// <param name="API">API</param>
        /// <returns>APICommandオブジェクト</returns>
        public APICommand CreateAsGet(string API)
        {
            string     URL     = Host + API;
            APICommand Command = APICommand.CreateAsGet(URL);

            return(Command);
        }
예제 #2
0
        /// <summary>
        /// GETとして生成
        /// </summary>
        /// <param name="URL">URL</param>
        /// <returns>APICommandオブジェクト</returns>
        public static APICommand CreateAsGet(string URL)
        {
            APICommand Command = new APICommand(URL, EHttpMethod.GET);

            return(Command);
        }
예제 #3
0
        /// <summary>
        /// POSTとして生成
        /// </summary>
        /// <param name="URL">URL</param>
        /// <returns>APICommandオブジェクト</returns>
        public static APICommand CraeteAsPost(string URL)
        {
            APICommand Command = new APICommand(URL, EHttpMethod.POST);

            return(Command);
        }