- Validation?
.NET Core
export MONGO_URL=mongodb://localhost:27017/
dotnet run
Running with a watch:
dotnet watch run
fsharpi
With httpie:
// list
http GET http://localhost:5000/todos
// create
http POST http://localhost:5000/todos text="something to do"
// list
http GET http://localhost:5000/todos
export TODO_ID=...
// update
http PUT http://localhost:5000/todos/$TODO_ID
// delete
http DELETE http://localhost:5000/todos/$TODO_ID