POST api/Proxy
Request Information
URI Parameters
None.
Body Parameters
WebRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| URL | string |
None. |
|
| Login | string |
None. |
|
| Password | string |
None. |
|
| Domain | string |
None. |
|
| SOAPAction | string |
None. |
|
| ContentType | string |
None. |
|
| Content | string |
None. |
|
| AuthType | EnumAuthType |
None. |
|
| Method | EnumWebRequestMethod |
None. |
Request Formats
application/json, text/json
Sample:
{
"URL": "sample string 1",
"Login": "sample string 2",
"Password": "sample string 3",
"Domain": "sample string 4",
"SOAPAction": "sample string 5",
"ContentType": "sample string 6",
"Content": "sample string 7",
"AuthType": 0,
"Method": 0
}
application/xml, text/xml
Sample:
<WebRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.WebProxy.Models"> <AuthType>None</AuthType> <Content>sample string 7</Content> <ContentType>sample string 6</ContentType> <Domain>sample string 4</Domain> <Login>sample string 2</Login> <Method>GET</Method> <Password>sample string 3</Password> <SOAPAction>sample string 5</SOAPAction> <URL>sample string 1</URL> </WebRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| ContentType | string |
None. |
|
| Content | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"ErrorMessage": "sample string 2",
"ContentType": "sample string 3",
"Content": "sample string 4"
}
application/xml, text/xml
Sample:
<WebResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.WebProxy.Models"> <Code>1</Code> <Content>sample string 4</Content> <ContentType>sample string 3</ContentType> <ErrorMessage>sample string 2</ErrorMessage> </WebResultModel>