promise url parameter fetch api

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