Documentation menu

Endpoint: location

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

Request

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

Response

response.json
1{
2 "id": 49,
3 "name": "Zeep Xanflorp's Miniverse",
4 "type": "Miniverse",
5 "dimension": "Replacement Dimension",
6 "residents": [
7 "https://rickandmorty.mimo.dev/api/character/348"
8 ],
9 "url": "https://rickandmorty.mimo.dev/api/location/49",
10 "created": "2017-12-29T19:58:44.675Z"
11}