Endpoint: people

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

Request

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

Response

response.json
1{
2 "name": "Greedo",
3 "height": "173",
4 "mass": "74",
5 "hair_color": "n/a",
6 "skin_color": "green",
7 "eye_color": "black",
8 "birth_year": "44BBY",
9 "gender": "male",
10 "homeworld": "https://swapi.mimo.dev/api/planets/23/",
11 "films": [
12 "https://swapi.mimo.dev/api/films/1/"
13 ],
14 "species": [
15 "https://swapi.mimo.dev/api/species/4/"
16 ],
17 "vehicles": [],
18 "starships": [],
19 "created": "2014-12-10T17:03:30.334000Z",
20 "edited": "2014-12-20T21:17:50.336000Z",
21 "url": "https://swapi.mimo.dev/api/people/15/"
22}