1fetch("https://rickandmorty.mimo.dev/api/location/113") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 113,3 "name": "Ferkus 9",4 "type": "Planet",5 "dimension": "Replacement Dimension",6 "residents": [7 "https://rickandmorty.mimo.dev/api/character/718",8 "https://rickandmorty.mimo.dev/api/character/798"9 ],10 "url": "https://rickandmorty.mimo.dev/api/location/113",11 "created": "2021-10-17T09:52:23.219Z"12}