Führe REST API Funktion aus
rest_api_executeExecute any WordPress REST API call with support for GET, POST, PUT, PATCH, and DELETE methods. Directly interact with WordPress endpoints to manage content, settings, and more.
Instructions
Führt eine beliebige WordPress REST API Funktion aus. Unterstützt GET, POST, PUT, PATCH und DELETE Operationen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request-Body für POST/PUT/PATCH-Requests | |
| method | Yes | HTTP-Methode | |
| params | No | Parameter für GET-Requests (Query-String) | |
| endpoint | Yes | Der REST API Endpoint-Pfad (z.B. "/wp/v2/posts", "/wp/v2/pages/123") |