fetch(proxy + url, {
headers: {
'Content-Type': 'application/json',
Origin: origin
},
cache: 'no-store',
mode: 'cors',
redirect: 'follow',
}).then(response => {
if (!response.ok) throw new Error(response.status);
return response.json();
}).catch(error => {return error;})