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}"
在命令提示符处运行以下命令:
.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}"