Endpoint: people

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

Request

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

Response

response.json
1{
2 "name": "Dooku",
3 "height": "193",
4 "mass": "80",
5 "hair_color": "white",
6 "skin_color": "fair",
7 "eye_color": "brown",
8 "birth_year": "102BBY",
9 "gender": "male",
10 "homeworld": "https://swapi.mimo.dev/api/planets/52/",
11 "films": [
12 "https://swapi.mimo.dev/api/films/5/",
13 "https://swapi.mimo.dev/api/films/6/"
14 ],
15 "species": [
16 "https://swapi.mimo.dev/api/species/1/"
17 ],
18 "vehicles": [
19 "https://swapi.mimo.dev/api/vehicles/55/"
20 ],
21 "starships": [],
22 "created": "2014-12-20T16:52:14.726000Z",
23 "edited": "2014-12-20T21:17:50.462000Z",
24 "url": "https://swapi.mimo.dev/api/people/67/"
25}