Permitting to create http requests
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user