1fetch("https://rickandmorty.mimo.dev/api/location/90") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 90,3 "name": "Mount Olympus",4 "type": "Mount",5 "dimension": "Replacement Dimension",6 "residents": [],7 "url": "https://rickandmorty.mimo.dev/api/location/90",8 "created": "2020-05-07T10:19:34.206Z"9}