Added more security and metrics
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user