debug on server
This commit is contained in:
@@ -205,6 +205,7 @@ namespace TodoAPI2.Models
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
var url = MyHelper.GetConfig(Configuration, "SiteInformation:hr_upload_api");
|
||||
Console.WriteLine("SiteInformation:hr_upload_api = "+MyHelper.GetConfig(Configuration, "SiteInformation:hr_upload_api"));
|
||||
var response = client.PostAsync(url, form).Result;
|
||||
response.EnsureSuccessStatusCode();
|
||||
var json = response.Content.ReadAsStringAsync().Result;
|
||||
|
||||
Reference in New Issue
Block a user