Skip to content

Commit

Permalink
FIX string type for json.
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Jan 4, 2024
1 parent e590a40 commit 5e8d225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionruntime/restapi/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (r *RESTAPIConnector) Run(resourceOptions map[string]interface{}, actionOpt
res.Extra["statusText"] = resp.Status()
case METHOD_POST:
resp, errInPost := actionClient.SetQueryParams(actionURLParams).Post(baseURL + r.Action.URL)
fmt.Printf("[DUMP] restapi POST resp.Body(): %+v\n", resp.Body())
fmt.Printf("[DUMP] restapi POST resp.Body(): %+v\n", string(resp.Body()))
if errInPost != nil && (resp == nil || resp.RawResponse == nil) {
return res, errInPost
}
Expand Down

0 comments on commit 5e8d225

Please sign in to comment.