Raw Flarum API request
flarum_requestMake arbitrary HTTP requests to any Flarum API endpoint for custom extension routes and operations not covered by typed tools.
Instructions
Escape hatch: make an arbitrary request to any Flarum API endpoint, for anything not covered by the typed tools (custom extension routes, non-JSON:API endpoints, etc.). In read-only mode, non-GET methods are refused. Path is relative to the API root, e.g. "/discussions" or "/fof/gamification/ranks".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (object), sent as JSON. | |
| path | Yes | API path relative to /api, e.g. "/users/1". | |
| query | No | Query parameters. | |
| method | No | HTTP method. | GET |