Rest Client
Installation
dotnet tool install -g wk.RestClient
Usage
http/regres.in/register.rest
1. Create request file // This is comment
POST https://reqres.in/api/register
Content-Type: application/json
Authorization: Bearer xyz
X-Proxy-Token: e abcd
{
"email": "[email protected]",
"password": "pistol"
}
wk-rest
in terminal
2. Execute > wk-rest --file http/regres.in/register.rest
{
"id": 4,
"token": "QpwL5tke4Pnpja7X4"
}