diff --git a/pkg/component/generic/http/v0/main.go b/pkg/component/generic/http/v0/main.go index 130c2d952..0b8cc6320 100644 --- a/pkg/component/generic/http/v0/main.go +++ b/pkg/component/generic/http/v0/main.go @@ -153,7 +153,7 @@ func (e *execution) executeHTTP(ctx context.Context, job *base.Job) error { // An API error is a valid output in this component. req := e.client.R() if in.Body != nil { - req.SetBody(in.Body) + req.SetBody(in.Body.String()) } resp, err := req.Execute(taskMethod[e.Task], in.EndpointURL)