Endpoint: species
GEThttps://swapi.mimo.dev/api/species/Sullustan
Request
GETspecies
1fetch("https://swapi.mimo.dev/api/species/Sullustan")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "name": "Sullustan",
3 "classification": "mammal",
4 "designation": "sentient",
5 "average_height": "180",
6 "skin_colors": "pale",
7 "hair_colors": "none",
8 "eye_colors": "black",
9 "average_lifespan": "unknown",
10 "homeworld": "https://swapi.mimo.dev/api/planets/33/",
11 "language": "Sullutese",
12 "people": [
13 "https://swapi.mimo.dev/api/people/31/"
14 ],
15 "films": [
16 "https://swapi.mimo.dev/api/films/3/"
17 ],
18 "created": "2014-12-18T11:26:20.103000Z",
19 "edited": "2014-12-20T21:36:42.157000Z",
20 "url": "https://swapi.mimo.dev/api/species/10/"
21}