包含了get和post各种参数形式及方法, public static U Post(string url, T model, NameValueCollection headers = null)
{
return HttpClientHelper.Post(url, model, headers);
}
public static U Get(string url, T model, NameValueCollection headers = null)
{
return HttpClientHelper.Get(url, model, headers);
}
1