/// <summary> /// 创建Post请求 /// </summary> public string ClientPost() { var client = new LiHttp(); var context = client.Create <string>(HttpMethod.Post, "", data: new { }).Send(); return(context.IsValid() ? context.Result : ""); }
/// <summary> /// 创建Post请求 /// </summary> public string ClientPost() { var client = new LiHttp(); var context = client.Create<string>(HttpMethod.Post, "", data: new { }).Send(); return context.IsValid() ? context.Result : ""; }