1fetch("https://rickandmorty.mimo.dev/api/location/53") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "id": 53,3 "name": "Mr. Meeseeks Box",4 "type": "Box",5 "dimension": "unknown",6 "residents": [],7 "url": "https://rickandmorty.mimo.dev/api/location/53",8 "created": "2017-12-30T17:52:12.217Z"9}