摘要:
在.net中发送 xml post请求和接受xml 的post请求时,经常会遇到“远程服务器返回错误: (500) 内部服务器错误”。这里有2种解决办法: 第一种:修改请求端Content-Type 为“text/xml”(httpclient.Headers.Add("Content-Type", "text/xml");) 代码如下:+ expand sourceview plaincopy to clipboardprint?using System;using System.Collections.Generic;using System.Tex 阅读全文