Perform a GET Request.
dotnet run [url]
# cd to RestClient folder
cd RestClient/
dotnet run https://jsonplaceholder.typicode.com/todos/1
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
}
Start the server at the specified port.
dotnet run [port]
# cd to RestServer folder
cd RestServer/
dotnet run 5000
# Server is listening at port 5000.
Now you can perform a GET request to your server.
# RestClient
dotnet run http://localhost:5000
{
"id": 0,
"userName": "Arnaldo"
}