Versions in this module Expand all Collapse all v0 v0.0.5 Jun 2, 2026 Changes in this version + func DecodeAPIError(resp *http.Response) (factoryapi.ErrorResponse, bool) + func GetJSON(ctx context.Context, client *http.Client, url string, dst any, ...) (*http.Response, error) + func PostJSON(ctx context.Context, client *http.Client, url string, body io.Reader, dst any, ...) (*http.Response, error) + func PostJSONCreated(ctx context.Context, client *http.Client, url string, body io.Reader, dst any, ...) (*http.Response, error) + func PutJSON(ctx context.Context, client *http.Client, url string, body io.Reader, dst any, ...) (*http.Response, error) + func PutJSONCreated(ctx context.Context, client *http.Client, url string, body io.Reader, dst any, ...) (*http.Response, error) + type RequestOptions struct + Diagnostics io.Writer + EndpointPath string + LogLabel string + Verbose bool