Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Created July 11, 2020 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sandrabosk/4f7fd394de76e45eeb7b8569fb9a28a0 to your computer and use it in GitHub Desktop.
Save sandrabosk/4f7fd394de76e45eeb7b8569fb9a28a0 to your computer and use it in GitHub Desktop.

In the service file, add a new method to fetch a sub-breed. Go ahead and sneak peek into the official dog API docs and after creating this method, create a view to display the sub-breeds based on the passed breed. Hint: You need to add routes to your file and create a dynamic route that will be able to receive different breeds and show the sub-breeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment