Documentation menu

Endpoint: location

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

Request

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

Response

response.json
1{
2 "id": 64,
3 "name": "Detoxifier",
4 "type": "Machine",
5 "dimension": "Replacement Dimension",
6 "residents": [],
7 "url": "https://rickandmorty.mimo.dev/api/location/64",
8 "created": "2018-01-10T18:20:41.627Z"
9}