opted-eu / meteor-api

Meteor API Server
https://meteor.opted.eu/
GNU General Public License v3.0
1 stars 0 forks source link

API: Post requests with wrong parameters cause CORS error #54

Closed mrwunderbar666 closed 11 months ago

mrwunderbar666 commented 11 months ago

Sending a POST request with wrong parameters returns a CORS error, instead of a 400 Error

Needs work on the decorator https://github.com/opted-eu/meteor-dev/blob/0cc069f395d26f9ef073c32bd5c156dfb1e10d9f/meteor/api/routes.py#L296