< Home

http-control post action

Function

The http-control post action command controls HTTP POST operations.

The undo http-control post action command cancels the control over HTTP POST operations.

Format

http-control post action { permit | deny }

undo http-control post action

Parameters

Parameter Description Value
permit Permits the HTTP POST operation. -
deny Denies the HTTP POST operation. -

Views

Application behavior control profile view

Default Level

2: Configuration level

Usage Guidelines

HTTP POST operations are permitted by default.

The POST method of HTTP is commonly used to send information to the server through web pages. For example, you are using this method when you post on BBS, submit forms, and enter your user name and password to log in to a specific system.

Example

# Create application behavior control profile hello in the system view and deny HTTP POST operations in the profile.

<sysname> system-view
[sysname] profile type app-control name hello
[sysname-profile-app-control-hello] http-control post action deny
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >