Outline
Your turn to implement GET
Here are the steps to follow to create your own GET call for your application.
- Use constructor injection to bring in the HttpClient into your service
- Using the HttpClient make a GET request to your .NET backend API
- Use constructor injection again but this time to bring your service into your component
- Your component should then call your services get to get the data from the backend
Challenge: Use an *ngFor to display all of the data that you get back from you API in the HTML