且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WCF REST 服务返回 HTTP 400 错误请求

更新时间:2022-04-14 07:29:38

我遇到了同样的问题原因是我发布的 xml 有以下内容

I had the same issue the reason was my posting xml had the below on top

<?xml version="1.0" encoding="utf-16"?>

我删除了它,它就起作用了!

I removed it and it just worked!