SessionManagerHttpServiceRequestSpec

SessionManagerHttpServiceRequestSpec
SessionManagerHttpServiceRequestSpec

This data object type describes a request to an HTTP or HTTPS service.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "method": "string",
    "url": "string"
}
string
method
Optional

The HTTP method used for the request.

If null, then any method is assumed.

See also SessionManagerHttpServiceRequestSpecMethodEnum.

string
url
Required

URL of the HTTP request.

E.g. 'https://127.0.0.1:8080/cgi-bin/vm-support.cgi?n=val'.

For ESXi CGI service requests:

  • only the path and query parts of the URL are used (e.g. "/cgi-bin/vm-support.cgi?n=val").

This is so because the scheme is not known to the CGI service, and the port may not be the same if using a proxy.