Still not working.
This is the proxyTable config:
proxyTable: {
‘/api’: {
target: ‘https://dev.greeninvoice.co.il/api/v1’,
changeOrigin: true,
pathRewrite: {
‘^/api’: ‘’
}
}
}
and this is the request code:
return Vue.http.post('/api/account/login', payload).then((response) => {
debugger
return response.data
})
getting: http://localhost:8080/api/account/login 500 (Internal Server Error)