Enable or disable a transport (SOAP/REST)
Description
Enable or disable the REST or SOAP transport of a Web application belonging to an ABL application.
HTTP Operation
PUT
URI
//host_name:port/oemanager/applications/
ABL_app_name/webapps/Web_app_name/transports/{soap|rest}/state
Media type
application/vnd.progress+json
Request body
{
"STATE" : "{ENABLED | DISABLED}"
}
Response codes
200 Success
500 Unexpected Server Error
Command-line example (SOAP)
curl -X PUT -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/soap/state
-d '{"state":"ENABLED"}' -H "Content-Type: application/vnd.progress+json"
Response body example (SOAP)
{"state":"ENABLED"}
Command-line example (REST)
curl -X PUT -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/rest/state
-d '{"state":"DISABLED"}' -H "Content-Type: application/vnd.progress+json"
Response body example (REST)
{"state":"DISABLED"}