New ask Hacker News story: Fix cron routes: POST → GET (Vercel cron sends GET)
Fix cron routes: POST → GET (Vercel cron sends GET) 2 by nishiohiroshi | 0 comments on Hacker News. Our drip email cron ran its first day and sent zero emails. The cron hit the endpoint, got a 200 back, everything looked healthy. Turns out Vercel cron sends GET requests, but we put the email logic in a POST handler. The GET handler was just a health check returning {"status":"healthy"}. Two of three cron routes had this bug - the third one happened to use GET and worked fine.