ВР
Size: a a a
ВР
ВР
ВР
🦁
var auth = {
"status": "ok",
"command": "get_personal_area",
"auth": {
"login": "foo",
"token": "bar",
"need_confirm_email": "false"
}
};
fetch('php_api/api.php', {
method: 'GET',
mode: 'no-cors',
headers: {
'Access-Control-Allow-Origin': '*',
},
body: JSON.stringify(auth)
})
.then(function (data) {
console.log('Request succeeded with JSON response', data);
})
.catch(function (error) {
console.log('Request failed', error);
});
🦁
AM
ПП
ПП