Flask-CORS no funciona para POST, pero funciona para GET
Estoy ejecutando una API Flask-Restful localmente y envío una solicitud POST que contiene JSON desde un puerto diferente. Me sale el error
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Sin embargo, cuando corro
curl --include -X OPTIONS http://localhost:5000/api/comments/3
--header Access-Control-Request-Method:POST
--header Access-Control-Request-Headers:Content-Type
--header Origin:http://localhost:8080
yo obtengo
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Allow: HEAD, GET, POST, OPTIONS
Access-Control-Allow-Origin: http://localhost:8080
Access-Control-Allow-Methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT
Vary: Origin
Access-Control-Allow-Headers: Content-Type
Content-Length: 0
que muestra "Access-Control-Allow-Origin" como "*". GET funciona bien, es solo POST lo que da este error. ¿Qué podría estar yendo mal? Si es relevante, para la interfaz que estoy usando reaccionar y solicitar a través de axios.