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.

Table 1. Create SOCKS5 Proxy server request details

Create SOCKS5 Proxy server request details.

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

Table 2. Create SOCKS5 Proxy Server request body parameters

Create SOCKS5 Proxy Server request body parameters

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>