Endpoint: people

GEThttps://swapi.mimo.dev/api/people/Lobot

Request

GETpeople
1fetch("https://swapi.mimo.dev/api/people/Lobot")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "name": "Lobot",
3 "height": "175",
4 "mass": "79",
5 "hair_color": "none",
6 "skin_color": "light",
7 "eye_color": "blue",
8 "birth_year": "37BBY",
9 "gender": "male",
10 "homeworld": "https://swapi.mimo.dev/api/planets/6/",
11 "films": [
12 "https://swapi.mimo.dev/api/films/2/"
13 ],
14 "species": [],
15 "vehicles": [],
16 "starships": [],
17 "created": "2014-12-15T13:01:57.178000Z",
18 "edited": "2014-12-20T21:17:50.359000Z",
19 "url": "https://swapi.mimo.dev/api/people/26/"
20}