POST api/System/Proxy
代理请求
Request Information
URI Parameters
None.
Body Parameters
ProxyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Method | string |
None. |
|
| RequestURL | string |
None. |
|
| Body | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Method": "sample string 1",
"RequestURL": "sample string 2",
"Body": "sample string 3"
}
application/xml, text/xml
Sample:
<ProxyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO.Request"> <Body>sample string 3</Body> <Method>sample string 1</Method> <RequestURL>sample string 2</RequestURL> </ProxyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfProxyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | ApiCode |
None. |
|
| Message | string |
None. |
|
| Body | ProxyResponse |
None. |
|
| IsSuccess | boolean |
None. |
|
| SubCode | SubCode |
None. |
|
| SubMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 0,
"Message": "sample string 1",
"Body": {
"Result": "sample string 1"
},
"IsSuccess": true,
"SubCode": 0,
"SubMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiResultOfProxyResponserUIxL1Kj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yidu.Model.TO">
<Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yidu.Model.TO.Response">
<d2p1:Result>sample string 1</d2p1:Result>
</Body>
<Code>Success</Code>
<Message>sample string 1</Message>
<SubCode>Success</SubCode>
<SubMessage>sample string 2</SubMessage>
</ApiResultOfProxyResponserUIxL1Kj>