Added more security and metrics

This commit is contained in:
2026-06-22 07:28:03 +02:00
committed by Jeroen Saey
parent 2a1f7b77ee
commit cb2d111ad7
27 changed files with 1638 additions and 884 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using EonaCat.Json;
namespace EonaCat.DoxaApi.Middleware
{
@@ -7,16 +7,16 @@ namespace EonaCat.DoxaApi.Middleware
internal sealed class ConsoleRequest
{
[JsonPropertyName("method")]
[JsonProperty("method")]
public string Method { get; set; } = "GET";
[JsonPropertyName("url")]
[JsonProperty("url")]
public string Url { get; set; } = "";
[JsonPropertyName("headers")]
[JsonProperty("headers")]
public Dictionary<string, string>? Headers { get; set; }
[JsonPropertyName("body")]
[JsonProperty("body")]
public string? Body { get; set; }
}
}