api.request
Send live HTTP requests to APIs with optional auth tokens, specified endpoints, and customizable methods, headers, and query parameters for streamlined API testing and integration.
Instructions
Execute a live HTTP request to API_BASE_URL; optionally include an Authorization bearer token retrieved from configured browser storage. Use after 'api.searchEndpoints' or for known endpoints.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpoint | Yes | The API endpoint path (e.g., '/api/users', '/auth/profile'). Will be combined with API_BASE_URL from environment. | |
includeAuthToken | No | Whether to include auth token | |
method | No | HTTP method for the API call | GET |
queryParams | No | Query parameters as key-value pairs | |
requestBody | No | Request body for POST/PUT/PATCH requests (will be JSON stringified) |