api: fixes to scoring task if no req.body sent