This commit is contained in:
2022-02-14 15:44:21 -07:00
parent 817934a255
commit 5132a8a02d
15 changed files with 8898 additions and 6 deletions

View File

@ -16,7 +16,7 @@ public partial class WS
try
{
string json = JsonSerializer.Serialize(payload, payload.GetType());
if (string.IsNullOrEmpty(url) || !url.Contains(':') || !url.Contains('.'))
if (string.IsNullOrEmpty(url) || !url.Contains(":") || !url.Contains("."))
throw new Exception("Invalid URL");
using (HttpClient httpClient = new())
{