- Property Manager name: Allow POST
- Behavior version: The
v2024-08-13
rule format supports theallowPost
behavior v1.3. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
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}} |