everything worked fine in development but moving it into production I get a 405 error.
I am running a flask app and calling the API endpoint from the React front end.