GET /system/web-server/protocols
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: Protocols
Property Name | Type | Description | Method |
---|---|---|---|
Protocols | Array |
This object is an array of Protocol objects. It lists the protocols supported by the device. | GET |
URL Example: https://0.0.0.0/api/rest/v1/system/web-server/protocols
[
{
"href": "/api/rest/v1/system/web-server/protocols/http",
"name": "http"
},
{
"href": "/api/rest/v1/system/web-server/protocols/https",
"name": "https"
}
]
URL Example: https://0.0.0.0/api/rest/v1/system/web-server/protocols
<?xml version="1.0" encoding="utf-8"?>
<Protocols>
<Protocol>
<Href>/api/rest/v1/system/web-server/protocols/http</Href>
<Name>http</Name>
</Protocol>
<Protocol>
<Href>/api/rest/v1/system/web-server/protocols/https</Href>
<Name>https</Name>
</Protocol>
</Protocols>