getRouteParam('id'); $body = $request->getBodyContents(); if (!$id || !$body) { throw new BadRequest(); } $this->uploadService->uploadChunk($id, $body); return ResponseComposer::json(true); } }