Skip to content

appfw-JSONContentType

The following operations can be performed on "appfw-JSONContentType":

add| rm| show|

add appfw JSONContentType

Add JSON content type. This will classify a request/response with the specified content type as JSON

Synopsis

add appfw JSONContentType <JSONContenttypevalue> [-isRegex ( REGEX | NOTREGEX )]

Arguments

JSONContenttypevalue

Content type to be classified as JSON

isRegex

Is json content type a regular expression?

Possible values: REGEX, NOTREGEX Default value: NOTREGEX

rm appfw JSONContentType

Remove JSON content type.

Synopsis

rm appfw JSONContentType <JSONContenttypevalue>

Arguments

JSONContenttypevalue

Content type to be classified as JSON

show appfw JSONContentType

Display all JSON content types.

Synopsis

show appfw JSONContentType [<JSONContenttypevalue>]

Arguments

JSONContenttypevalue

Content type to be classified as JSON

Output

isRegex

Is json content type a regular expression?

builtin

Flag to determine if jsoncontenttype is built-in or not

feature

The feature to be checked while applying this config

devno

count

stateflag

Was this article helpful?