default_api_debug
Execute API requests for debugging with automatic content-type detection. Supports GET, POST, PUT, DELETE, PATCH methods, custom headers, query parameters, and flexible body formats: JSON, form data, XML, plain text.
Instructions
API debugging tool for directly executing API requests with automatic content-type detection and flexible body format support. Examples: GET /api/users with query params, POST /api/login with JSON body {"username":"admin","password":"123456"}, PUT /api/users/123 with form data "name=John&email=john@example.com"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | API URL to execute (required) | |
| method | No | HTTP method (optional, defaults to GET) | |
| headers | No | Additional headers for the request (optional) | |
| query | No | Query parameters (optional) | |
| body | No | Request body (optional) - Supports multiple formats: JSON object, form data, XML, HTML or plain text | |
| contentType | No | Content-Type for request body (optional, will auto-detect if not specified) |