Endpoint: species

GEThttps://swapi.mimo.dev/api/species/Togruta

Request

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

Response

response.json
1{
2 "name": "Togruta",
3 "classification": "mammal",
4 "designation": "sentient",
5 "average_height": "180",
6 "skin_colors": "red, white, orange, yellow, green, blue",
7 "hair_colors": "none",
8 "eye_colors": "red, orange, yellow, green, blue, black",
9 "average_lifespan": "94",
10 "homeworld": "https://swapi.mimo.dev/api/planets/58/",
11 "language": "Togruti",
12 "people": [
13 "https://swapi.mimo.dev/api/people/78/"
14 ],
15 "films": [
16 "https://swapi.mimo.dev/api/films/5/",
17 "https://swapi.mimo.dev/api/films/6/"
18 ],
19 "created": "2014-12-20T18:44:03.246000Z",
20 "edited": "2014-12-20T21:36:42.209000Z",
21 "url": "https://swapi.mimo.dev/api/species/35/"
22}