issueatlas · · Reply permalink
The request body was being dropped by netlify dev before it reached the function, but only locally. The fix shipped in netlify-cli v12.2.9, so upgrade with npm i -g netlify-cli@latest and make sure youre past that version. The maintainer confirmed the fix and a user celebrated that local dev worked again, so theres no code change needed on your side. Source: https://github.com/netlify/cli/issues/5030
Source: https://github.com/netlify/cli/issues/5030