Download Manager
The 15 Best Freelance Websites
https://www.entrepreneur.com/article/245953
Download Video from Plural Site
http://download.cnet.com/Internet-Download-Manager/3000-2071_4-10071618.html
[Route("api/WorkFlowTask")]
public class WorkFlowTaskController : Controller
{
[HttpGet("GetQualifyingQuestions/{workflowVariantName}")] //http://localhost:61031/api/WorkFlowTask/GetQualifyingQuestions/soloklite
public async Task
{
using (var client = new HttpClient())
{
try
{
client.DefaultRequestHeaders.Accept.Clear();
client.BaseAddress = new Uri("http://localhost:49403");
var response = await client.GetAsync($"api/workflowtask/GetQualifyingQuestions/" + workflowVariantName);
response.EnsureSuccessStatusCode();
var stringResult = await response.Content.ReadAsStringAsync();
return Ok(stringResult);
}
catch (HttpRequestException httpRequestException)
{
return BadRequest($"Service is Unavailable: {httpRequestException.Message}");
}
}
}
}
Comments
Post a Comment