![]() GET - /species returns a list of all the species.This resource is about the type of characters in the Star Wars Universe.GET - /vehicles / returns the details of vehicle.GET - /vehicles returns a list of all the vehicles.This resource is about the transport crafts that do not have hyperdrive capability.GET - /starships / returns the details of a specific starship.GET - /starships returns a list of all the starships.This resource is about the transport crafts that have hyperdrive capability in the Star Wars Universe.GET - /planets / returns the details of a specific character.GET - /people returns a list of all the characters.This resource deals with characters in the Star Wars Universe.GET - /planets / returns the details of a specific planet.GET - /planets returns a list of all the planets.This resource is about the planetary bodies in the Star Wars Universe. ![]() There are six endpoints for the Star Wars API: We will explore the API endpoints for SWAPI(Star Wars API). Consider a case where you are assigned the task of designing an API for a new interesting HBO show, e.g Game of Thrones, that has caught the attention of Google & Facebook. The objective of building the API clone is to learn how to craft APIs quickly with Loopback. Rather than crafting an entirely different API, we'll build a clone of the Star Wars API. In this tutorial, we'll build a RESTful API for Star Wars.
0 Comments
Leave a Reply. |