Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fetch('https://api.github.com/users/ROGAL12321')
- .then(res => res.json())
- .then(data => {
- //wszelkie operacje
- console.log(data.name);
- })
- .catch(error => {
- console.log('ja bede plakac bo ', error);
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement