We are developing an API with Coldbox. and a UI with VueJS.
Having a hell of a time and going round and round in circles trying to get through CORS.
If we point the same call to a Node API, no issue, but when we point it to our Coldbox API, we are just going around in circles with the Preflight tests and other CORS related issues. Pulling our hair out.
In the end we came across this plugin and installed (
https://www.forgebox.io/view/cors), but now getting the below response on a post request: No Content or error in preview or Response tabs. Nothing.. just a status code 500 General Application Error.
Has anyone got vueJS/ Axios working with a coldbox application? Any pointers?
Thanks!!

Here is the VueJS request we are making
<script>
export default {
data() {
return {
email: '',
password: '',
checkbox_remember_me: false
}
},
methods: {
login () {
this.$http.post('http://127.0.0.1:9095/auth/user', { email: this.email, password: this.password, remember: this.checkbox_remember_me })
.then((response) => {
console.log(response.data)
})
}
}
}
</script>