1fetch("https://rickandmorty.mimo.dev/api/location/119") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 119,3 "name": "France",4 "type": "Country",5 "dimension": "Replacement Dimension",6 "residents": [],7 "url": "https://rickandmorty.mimo.dev/api/location/119",8 "created": "2021-10-17T14:59:13.494Z"9}