POST Create SOCKS5 Proxy
Creates a SOCKS5 Proxy server on the IBM ® Secure Proxy Configuration Manager.
With the createSocksProxyConfig method, you can create a SOCKS5 Proxy server on the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token that is generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
|
POST |
socksProxyConfig |
/sspcmrest/sspcm/rest/socksProxyConfig/createSocksProxyProfile |
Creates a new SOCKS5 Proxy Server profile on the Secure Proxy Configuration Manager. |
Create SOCKS5 Proxy Server request
| Parameter | Description |
|---|---|
|
XML |
The XML corresponding to creating a new SOCKS5 Proxy Server definition within Secure Proxy Configuration Manager. |
HTTP EA Server request
The following example shows the HTTP request:
POST https://localhost:8443/sspcmrest/sspcm/rest/socksProxyConfig/createSocksProxyProfile
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“Content-Type”: “application/xml”
XML corresponding to defining a SOCKS5 Proxy Server
XML EA Server response
The following example shows the XML response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XmlResponse>
<httpCode>200</httpCode>
<httpStatus>OK</httpStatus>
<action>None</action>
<message>socksProxyConfigDef socksProfile2
created.</message>
<messageLevel>INFO</messageLevel>
<results/>
</XmlResponse>