Next JS API Route Never Returns HTTP Status
Hey Folks,
I have a very basic REST API route (Its a web hook so it cant be a TRPC route) that checks if the request type is POST and if so returns a status of 200. However, when I try to use this the request times out and never returns a response. Could anyone point me in the right direction?
Here is the route:
2 Replies