wp_request
Make REST API calls to WordPress by specifying an HTTP method and a path under the wp-json endpoint. Submit request bodies and use dry-run or approval modes to control write operations safely.
Instructions
DEPRECATED alias for site.request.v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | Path after /wp-json, for example /wp/v2/pages | |
| method | Yes | ||
| dry_run | No | ||
| require_approval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||