diff --git a/codex/rest/api.nim b/codex/rest/api.nim index 651d370d..070cb3e6 100644 --- a/codex/rest/api.nim +++ b/codex/rest/api.nim @@ -196,6 +196,8 @@ proc initRestApi*(node: CodexNodeRef, conf: CodexConf): RestRouter = let body = await request.getBody() + trace "storage request received", body = string.fromBytes(body) + without params =? StorageRequestParams.fromJson(body), error: return RestApiResponse.error(Http400, error.msg)