This is an example project showcasing HTTP file examples together with this accompanying blog post.
The .http
file http-file-examples.http consists of GET, POST, PUT & DELETE requests based on the exposed endpoints from the mock todo minimal API.
A .env
file has also been included to demonstrate its usage.
NOTE:
.env
should not be committed to source control if containing sensitive information
Start the API
dotnet run
Use the .http
file either in Visual Studio
or vscode using the REST Client extension.