C# ASPNET
Command
- dotnet add package Swashbuckle.AspNetCore
- dotnet webapi -n MyApi
- dotnet run
- dotnet watch run
Swagger
- http://localhost:5196/swagger/index.html
curl
- curl -X GET "http://localhost:5196/Animal/animals" -H "accept */*"
- curl -X POST "http://localhost:5196/Animal" -H "accept */*" -H "content-type: application/json" -d "{\"name\": \"test\", \"age\": 10}"