N
Nuxt3y ago
Fran

Problem with readBody in production

In localhost, read the body is simple with readBody, it returns an object with body params. But in production, cloudflare workers, it returns a string and crash the request, it throw a 400 because can't receive body's data. The error 400 is throw because we code it to throw when params not receive.
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Fran
FranOP2y ago
@retuerto

Did you find this page helpful?