MCPcopy Create free account
hub / github.com/docker/model-test / APIRequest

Struct APIRequest

models/test_result.go:42–47  ·  view source on GitHub ↗

APIRequest represents the API request details

Source from the content-addressed store, hash-verified

40
41// APIRequest represents the API request details
42type APIRequest struct {
43 URL string `json:"url"`
44 Method string `json:"method"`
45 Headers map[string]string `json:"headers,omitempty"`
46 Body interface{} `json:"body,omitempty"`
47}
48
49// APIResponse represents the API response details
50type APIResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected