/// <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); }
/// <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); }
/// <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); }