This commit is contained in:
sujit
2025-10-01 19:46:14 +05:45
parent 7a99a74094
commit 331c9aa81a
26 changed files with 1340 additions and 826 deletions

View File

@@ -153,7 +153,7 @@ func (h *HTTPAPINodeHandler) makeHTTPCall(ctx context.Context, method, url strin
}
// Try to parse response body as JSON
var jsonBody interface{}
var jsonBody any
if err := json.Unmarshal(respBody, &jsonBody); err != nil {
// If not JSON, store as string
result["body"] = string(respBody)