public async Task <TestCredentialsResponse> TestCredentials() { Stream responseStream = await _httpRequestSender.SendGetRequest($"/vdp/helloworld"); TestCredentialsResponse response = await JsonSerializer.DeserializeAsync <TestCredentialsResponse>(responseStream, DefaultJsonSettings.Settings); return(response); }
public async Task <IActionResult> TestCredentials() { TestCredentialsResponse response = await _AcbaVisaAliasService.TestCredentials(); return(Ok(response)); }