Endpoint: location
GEThttps://rickandmorty.mimo.dev/api/location/103
Request
GETlocation
1fetch("https://rickandmorty.mimo.dev/api/location/103")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "id": 103,
3 "name": "Merged Universe",
4 "type": "Dimension",
5 "dimension": "Merged Dimension",
6 "residents": [
7 "https://rickandmorty.mimo.dev/api/character/652",
8 "https://rickandmorty.mimo.dev/api/character/656",
9 "https://rickandmorty.mimo.dev/api/character/657",
10 "https://rickandmorty.mimo.dev/api/character/658",
11 "https://rickandmorty.mimo.dev/api/character/661",
12 "https://rickandmorty.mimo.dev/api/character/655"
13 ],
14 "url": "https://rickandmorty.mimo.dev/api/location/103",
15 "created": "2020-08-13T10:16:18.946Z"
16}