- Property Manager name: Allow POST
- Behavior version: The
latestrule format supports theallowPostbehavior v1.3. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latestrule 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}} |
