...
Blok kódu | ||||||
---|---|---|---|---|---|---|
| ||||||
fetch('https://restapi.ipex.cz/v1/sso/login', { method: 'POST', body: JSON.stringify({ email: 'your_login i.e. jiri.nova@ipex.cz', password: 'your_password' }) }) .then(res => res.json()) .then(({access_token}) => console.log(`"Authorization": "Bearer ${access_token}"`)) |
...