webserver enable

Enable the REST API service. After enabling the service, use service start webserver to start the service.

User Privileges

Users with the following privileges can perform this command:

>Admin

NOTE   You must call webserver bind to access the REST API.

Syntax

webserver enable [-force]

Argument(s) Shortcut Description
-force -f Force the action without prompting - useful for scripting.

Example

lunash:> webserver enable
 
WARNING: This operation will enable REST API Service !!!
 
Type 'proceed' to continue, or 'quit' to quit now.
 
> proceed
Proceeding...
 
Command Result : 0 (Success)