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.
我可以通过设置 Content-Type : "application/json" 并使用 fiddler 传递参数或组合主体来测试 Web 服务,例如:{"name":"test"}。但是,如何为 POST 方法编写 XML 内容类型的请求。
大概,您将Content-Type设置为application/xml并使用 XML 来格式化请求正文。例如测试,尽管格式取决于 API 的预期。