#Next Middleware with a POST request

2 messages · Page 1 of 1 (latest)

strong garnet
#

Hello I am trying to create a personal logging system to my MongoDB using MongoDB atlas Data-API to run on middleware. To do this, I am using non-blocking POST request using fetch without waiting. The code works on the local machine (tried building and running) by changing my MongoDB document successfully. However, it doesn't work when deployed on Vercel.

Please help! this is my sample code.

jaunty forge