From e274c864f9f523f451f615ea89fb82986535a4b9 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 29 Aug 2023 14:11:46 +0200 Subject: [PATCH] CLI: Add Status Code to output --- CLI/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CLI/Program.cs b/CLI/Program.cs index 1e7ccfb..2a2ec2a 100644 --- a/CLI/Program.cs +++ b/CLI/Program.cs @@ -112,6 +112,7 @@ internal sealed class TrangaCli : Command if (AnsiConsole.Confirm("Send Request?")) response = client.Send(request); else break; + AnsiConsole.WriteLine($"Response: {(int)response.StatusCode} {response.StatusCode}"); AnsiConsole.WriteLine(response.Content.ReadAsStringAsync().Result); break; case "Log":