1fetch("https://rickandmorty.mimo.dev/api/location/93") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 93,3 "name": "Gramuflack",4 "type": "Planet",5 "dimension": "Replacement Dimension",6 "residents": [7 "https://rickandmorty.mimo.dev/api/character/559",8 "https://rickandmorty.mimo.dev/api/character/560"9 ],10 "url": "https://rickandmorty.mimo.dev/api/location/93",11 "created": "2020-05-07T10:26:35.591Z"12}