GET /system/web-server
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
Object Name: WebServer
Property Name | Type | Description | Method |
---|---|---|---|
Protocols | Array |
This object is an array of Protocol objects. It lists the protocols supported by the device. | GET |
Hostname | String | This is the controller's label or nickname that is used to identify the controller on the network. The hostname can be used in place of an IP address to identify this controller on the network. | GET POST |
URL Example: https://0.0.0.0/api/rest/v1/system/web-server
{
"hostname": "ECLYPSE-CF0E79",
"protocols": {
"href": "/api/rest/v1/system/web-server/protocols",
"name": "protocols"
}
}
URL Example: https://0.0.0.0/api/rest/v1/system/web-server
<?xml version="1.0" encoding="utf-8"?>
<WebServer>
<Hostname>ECLYPSE-CF0E79</Hostname>
<Protocols>
<Href>/api/rest/v1/system/web-server/protocols</Href>
<Name>protocols</Name>
</Protocols>
</WebServer>