dotnet http-repl

安装 http-repl

在命令提示符处运行以下命令:

.NET 命令行

dotnet tool install -g Microsoft.dotnet-httprepl

测试

httprepl https://localhost:5001/api/todoitems post -h Content-Type=application/json -c "{"name":"walk dog","isComplete":true}"

posted @ 2022-09-06 11:01  BLJCharles  阅读(40)  评论(0编辑  收藏  举报