promise url parameter fetch api
fetch('url')
.then(
response => {
console.log(response);
},
rejection => {
console.error(rejection.message);
);
Comments
fetch('url')
.then(
response => {
console.log(response);
},
rejection => {
console.error(rejection.message);
);