1fetch("https://rickandmorty.mimo.dev/api/location/76") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 76,3 "name": "Alien Day Spa",4 "type": "Spa",5 "dimension": "unknown",6 "residents": [7 "https://rickandmorty.mimo.dev/api/character/470"8 ],9 "url": "https://rickandmorty.mimo.dev/api/location/76",10 "created": "2018-05-22T20:49:01.820Z"11}