Webapi上传数据(XML)敏感字符解决方案 方法名加特性 [ValidateInput(false)] 配置文件加 <httpRuntime requestValidationMode="2.0" targetFramework="4.5" ></httpRuntime>