1fetch("https://rickandmorty.mimo.dev/api/location/84") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 84,3 "name": "Gorgon Quadrant",4 "type": "Quadrant",5 "dimension": "Replacement Dimension",6 "residents": [7 "https://rickandmorty.mimo.dev/api/character/543"8 ],9 "url": "https://rickandmorty.mimo.dev/api/location/84",10 "created": "2020-05-02T13:21:49.663Z"11}