restful http enable

Use restful http enable to enable RESTful access over HTTP.

Use undo restful http enable to disable RESTful access over HTTP.

Syntax

restful http enable

undo restful http enable

Default

RESTful access over HTTP is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This command is not supported in FIPS mode.

For users to access the device through the HTTP-based RESTful API, you must enable RESTful access over HTTP.

Examples

# Enable RESTful access over HTTP.

<Sysname> system-view
[Sysname] restful http enable