fetch('https://api_url', {
method: 'GET',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'authkey': xxxx',
'appkey': 'xxx'
},
body: params
})
.then((resp) => resp.json())
.then((resp) => {
this.agentCities = resp.data.agenzie_list;
});