Documentation menu

Endpoint: location

GEThttps://rickandmorty.mimo.dev/api/location/110

Request

GETlocation
1fetch("https://rickandmorty.mimo.dev/api/location/110")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": 110,
3 "name": "Narnia Dimension",
4 "type": "Dimension",
5 "dimension": "Fantasy Dimension",
6 "residents": [
7 "https://rickandmorty.mimo.dev/api/character/673",
8 "https://rickandmorty.mimo.dev/api/character/674",
9 "https://rickandmorty.mimo.dev/api/character/675",
10 "https://rickandmorty.mimo.dev/api/character/676",
11 "https://rickandmorty.mimo.dev/api/character/677",
12 "https://rickandmorty.mimo.dev/api/character/678",
13 "https://rickandmorty.mimo.dev/api/character/679",
14 "https://rickandmorty.mimo.dev/api/character/681",
15 "https://rickandmorty.mimo.dev/api/character/682",
16 "https://rickandmorty.mimo.dev/api/character/683",
17 "https://rickandmorty.mimo.dev/api/character/685"
18 ],
19 "url": "https://rickandmorty.mimo.dev/api/location/110",
20 "created": "2021-10-16T11:59:26.649Z"
21}