Endpoint: people

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

Request

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

Response

response.json
1{
2 "name": "Sebulba",
3 "height": "112",
4 "mass": "40",
5 "hair_color": "none",
6 "skin_color": "grey, red",
7 "eye_color": "orange",
8 "birth_year": "unknown",
9 "gender": "male",
10 "homeworld": "https://swapi.mimo.dev/api/planets/35/",
11 "films": [
12 "https://swapi.mimo.dev/api/films/4/"
13 ],
14 "species": [
15 "https://swapi.mimo.dev/api/species/14/"
16 ],
17 "vehicles": [],
18 "starships": [],
19 "created": "2014-12-19T17:53:02.586000Z",
20 "edited": "2014-12-20T21:17:50.397000Z",
21 "url": "https://swapi.mimo.dev/api/people/41/"
22}