Permitting to create http requests
This commit is contained in:
@@ -34,10 +34,9 @@ internal class Program
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
Console.WriteLine("Insert URL: ");
|
Console.WriteLine("Insert Full URL: ");
|
||||||
url = Console.ReadLine();
|
url = Console.ReadLine();
|
||||||
url = "https://" + url;
|
} while (string.IsNullOrEmpty(url) || !Uri.TryCreate(url, UriKind.Absolute, out _));
|
||||||
} while (string.IsNullOrEmpty(url) && url != "https://");
|
|
||||||
|
|
||||||
if (methodHttp == "POST")
|
if (methodHttp == "POST")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user