Permitting to create http requests

This commit is contained in:
2025-03-21 10:48:33 +01:00
parent 2149f0b032
commit e4f7af3611

View File

@@ -34,10 +34,9 @@ internal class Program
do
{
Console.WriteLine("Insert URL: ");
Console.WriteLine("Insert Full URL: ");
url = Console.ReadLine();
url = "https://" + url;
} while (string.IsNullOrEmpty(url) && url != "https://");
} while (string.IsNullOrEmpty(url) || !Uri.TryCreate(url, UriKind.Absolute, out _));
if (methodHttp == "POST")
{