ปรับการแสดงผลจัดการรอบคัดเลือกอื่นๆ #11
This commit is contained in:
parent
09e12ea888
commit
bc4c6a2ea7
5 changed files with 19 additions and 4 deletions
|
|
@ -51,7 +51,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
using (var client = new HttpClient())
|
||||
{
|
||||
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", AccessToken.Replace("Bearer ", ""));
|
||||
client.DefaultRequestHeaders.Add("api_key", _configuration["API_KEY"]);
|
||||
client.DefaultRequestHeaders.Add("api-key", _configuration["API_KEY"]);
|
||||
var req = await client.GetAsync(apiPath);
|
||||
var res = await req.Content.ReadAsStringAsync();
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue