Endpoint: species
GEThttps://swapi.mimo.dev/api/species/Wookie
Request
GETspecies
1fetch("https://swapi.mimo.dev/api/species/Wookie")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))
Response
response.json
1{
2 "name": "Wookie",
3 "classification": "mammal",
4 "designation": "sentient",
5 "average_height": "210",
6 "skin_colors": "gray",
7 "hair_colors": "black, brown",
8 "eye_colors": "blue, green, yellow, brown, golden, red",
9 "average_lifespan": "400",
10 "homeworld": "https://swapi.mimo.dev/api/planets/14/",
11 "language": "Shyriiwook",
12 "people": [
13 "https://swapi.mimo.dev/api/people/13/",
14 "https://swapi.mimo.dev/api/people/80/"
15 ],
16 "films": [
17 "https://swapi.mimo.dev/api/films/1/",
18 "https://swapi.mimo.dev/api/films/2/",
19 "https://swapi.mimo.dev/api/films/3/",
20 "https://swapi.mimo.dev/api/films/6/"
21 ],
22 "created": "2014-12-10T16:44:31.486000Z",
23 "edited": "2014-12-20T21:36:42.142000Z",
24 "url": "https://swapi.mimo.dev/api/species/3/"
25}