Endpoint: people
GEThttps://swapi.mimo.dev/api/people/Ki-Adi-Mundi
Request
GETpeople
1fetch("https://swapi.mimo.dev/api/people/Ki-Adi-Mundi")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "name": "Ki-Adi-Mundi",
3 "height": "198",
4 "mass": "82",
5 "hair_color": "white",
6 "skin_color": "pale",
7 "eye_color": "yellow",
8 "birth_year": "92BBY",
9 "gender": "male",
10 "homeworld": "https://swapi.mimo.dev/api/planets/43/",
11 "films": [
12 "https://swapi.mimo.dev/api/films/4/",
13 "https://swapi.mimo.dev/api/films/5/",
14 "https://swapi.mimo.dev/api/films/6/"
15 ],
16 "species": [
17 "https://swapi.mimo.dev/api/species/20/"
18 ],
19 "vehicles": [],
20 "starships": [],
21 "created": "2014-12-20T10:15:32.293000Z",
22 "edited": "2014-12-20T21:17:50.422000Z",
23 "url": "https://swapi.mimo.dev/api/people/52/"
24}