SOAP示例
开发中
云端 Mock
云端 Mock
POST
http://www.dneonline.com/calculator.asmx
1.
2.1.31
及以上版本2.
Content-Type
的值为application/soap+xml
或 text/xml; charset=utf-8
(根据实际情况来)3.
xml
4.
XML
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://www.dneonline.com/calculator.asmx' \
--header 'Content-Type: application/xml' \
--data-raw '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Add xmlns="http://tempuri.org/">
<intA>5</intA>
<intB>7</intB>
</Add>
</soap:Body>
</soap:Envelope>'
响应示例响应示例
{}
请求参数
Header 参数
Content-Type
string
可选
示例值:
text/xml
Body 参数application/xml
返回响应
修改于 2022-08-29 02:50:32