postの場合、サーバサイドでなんとかなったが、
getの場合うまく行かなかったのでfrontエンドで下記のようにした
data: () => ({
...
headers: {
'Content-Type': 'application/json;charset=UTF-8',
'Access-Control-Allow-Origin': '*',
}
axios.get(this.apiBaseUrl + '(URL)', this.headers)
.then((response) => {
this.xxx = response.data;
})