Endpoint: species
GEThttps://swapi.mimo.dev/api/species/Toong
Request
GETspecies
1fetch("https://swapi.mimo.dev/api/species/Toong")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "name": "Toong",
3 "classification": "unknown",
4 "designation": "sentient",
5 "average_height": "200",
6 "skin_colors": "grey, green, yellow",
7 "hair_colors": "none",
8 "eye_colors": "orange",
9 "average_lifespan": "unknown",
10 "homeworld": "https://swapi.mimo.dev/api/planets/41/",
11 "language": "Tundan",
12 "people": [
13 "https://swapi.mimo.dev/api/people/50/"
14 ],
15 "films": [
16 "https://swapi.mimo.dev/api/films/4/",
17 "https://swapi.mimo.dev/api/films/6/"
18 ],
19 "created": "2014-12-20T10:08:36.795000Z",
20 "edited": "2014-12-20T21:36:42.177000Z",
21 "url": "https://swapi.mimo.dev/api/species/19/"
22}