
接口调用
HeRo_OO7
如此如此,这般这般
展开
-
HttpException (0x80004005): 超过了最大请求长度
HttpException (0x80004005): 超过了最大请求长度1.Web.config中配置以下节点(基操勿六)A:<system.web><!--最大请求长度,单位为KB(千字节),默认为4M,设置为1G,上限为2G --> <httpRuntime targetFramework="4.5" maxRequestLength="1048576" executionTimeout="3600" /></system.web>原创 2021-10-08 19:20:10 · 1780 阅读 · 0 评论 -
C# post、get调用webapi 传值json
//引入命名空间 //using System.Net; //using System.IO; public string Post(string url, string msg) { string result = ""; HttpWebRequest req = (...原创 2019-09-30 15:05:31 · 3896 阅读 · 0 评论