C# The remote server returned an error: (500) Internal Server Error. GetRequest()
时间:2020-10-09 11:50:20
收藏:0
阅读:1028
C#使用HttpRequest进行Post表单传送的时候爆 (500) Internal Server Error.
原因为ContentType设置为multipart/form-data;需要改为
request.ContentType = "multipart/form-data; boundary=---------------------------7db1af18b064a";
原文:https://www.cnblogs.com/dlvguo/p/13784105.html
评论(0)