Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时我400 bad request在发送特殊字符(如“&”等)时会出错。就像 XML 格式的字符到 REST WCF 方法一样。
400 bad request
是什么原因以及为什么我会收到此错误?哪些字符不支持对 REST WCF post 方法的 XML 格式请求?
通过使用CDATA,我们可以传递所有字符。
句法:
<![CDATA[ Tax = 8 & of Subtotal ]]>