Hey! Had the same issue last week. Turns out my server was only configured for GET requests by default.
You might wanna check your server settings (like Apache/Nginx config or your API framework) to make sure POST is allowed.
If you're using Flask or Express, sometimes middleware can block certain methods. Try logging the request on the server side to see if it's even reaching there.
Also, Postman or Insomnia are great tools to test endpoints without dealing with CORS headaches.
You might wanna check your server settings (like Apache/Nginx config or your API framework) to make sure POST is allowed.
If you're using Flask or Express, sometimes middleware can block certain methods. Try logging the request on the server side to see if it's even reaching there.
Also, Postman or Insomnia are great tools to test endpoints without dealing with CORS headaches.
