How to allow 3rd party apps to send POST requests to your API
I'm exporting data from a 3rd party app which sends a POST request to an api in my app. The problem is it works when I test it locally by exposing my local port through ngrok but when I deploy to Vercel my endpoint doesn't get hit at all and I get an error from the 3rd party app with a not so helpful error message.
I've explored messing with CORS but that didn't fix it, assuming that I'm modifying the CORS settings correctly.
I've explored messing with CORS but that didn't fix it, assuming that I'm modifying the CORS settings correctly.