.net调用API接口全get post 包含了get和post各种参数形式及方法,publicstaticUPost(stringurl,Tmodel,NameValueCollectionheaders=null){returnHttpClientHelper.Post(url,model,headers);}publicstaticU