- Property Manager name: Allow POST
- Behavior version: The
latest
rule format supports theallowPost
behavior v1.3. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Allow HTTP requests using the POST method. By default, GET, HEAD, and OPTIONS requests are allowed, and POST requests are denied with 403 error. All other methods result in a 501 error. See also the allowDelete
, allowOptions
, allowPatch
, and allowPut
behaviors.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Allows POST requests. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
allowWithoutContentLength | boolean | By default, POST requests also require a | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} |