02-03 Starting Web Api

01

We can start the web api from within the WebApplication1.http file, which is always given the same name as the project.

The file is greyed out because we need the rest api extension

2

This is the rest api extension that we need

REST Client

03

We can now send a request to the api from the WebApplication1.http file.

** Restart the server because it probably won't show up if you don't

** Use
Command + control + (left right arrows) to move response

Also,
notice how the server weatherForecast is the same as in Program.cs

04

Notice how the with the breakpoint added, we can see the data change in the right