add support for REST-ful API building

- allow parameters within url
- allow different methods other then just POST
-> still needs to be tested!
This commit is contained in:
Pilzinsel64
2024-11-28 09:03:48 +01:00
parent 74ebbbca7b
commit 9dcaa7e507
9 changed files with 239 additions and 53 deletions

View File

@@ -6,4 +6,6 @@ public record class ApiRequestInfo(
ApiMessage? Message,
[property: MemberNotNullWhen(true, "AuthKey")]
bool IsAuthenticated,
string? AuthKey);
string? AuthKey,
string Url,
string Method);