Fixed pingable endpoint
This commit is contained in:
@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client
|
|||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
CompanyDbContext dbContext = new CompanyDbContext();
|
CompanyDbContext dbContext = new CompanyDbContext();
|
||||||
RestService rest = new RestService("127.0.0.1:5000", "api");
|
RestService rest = new RestService("127.0.0.1:5000");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace WD7UVN_HFT_2023241.Client
|
|||||||
{
|
{
|
||||||
HttpClient client;
|
HttpClient client;
|
||||||
|
|
||||||
public RestService(string baseurl, string pingableEndpoint = "api")
|
public RestService(string baseurl, string pingableEndpoint = "/api")
|
||||||
{
|
{
|
||||||
bool isOk = false;
|
bool isOk = false;
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user