Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpRequestInput ¶
type HttpRequestInput struct {
Method string `json:"method" jsonschema:"HTTP method: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS"`
URL string `json:"url" jsonschema:"Full URL or relative path (if base_url configured)"`
Headers map[string]string `json:"headers,omitempty" jsonschema:"Request headers as key-value pairs"`
Body string `json:"body,omitempty" jsonschema:"Request body (typically JSON)"`
QueryParams map[string]string `json:"queryParams,omitempty" jsonschema:"Query parameters as key-value pairs"`
Timeout string `json:"timeout,omitempty" jsonschema:"Per-request timeout (e.g. 10s, 500ms)"`
FollowRedirects *bool `json:"followRedirects,omitempty" jsonschema:"Follow HTTP redirects (default: true)"`
IncludeResponseHeaders *bool `json:"includeResponseHeaders,omitempty" jsonschema:"Include response headers in output (default: false)"`
}
Click to show internal directories.
Click to hide internal directories.