Redirect client to a URL from a JS API service or from an html call

Hi @Odo_Maletzki

Since, the BL supports async/await let me show a little compact variation of your solution

async MyAsyncExternalApiCall() {
  const result = await CallToExternalAPI()

  this.response.statusCode = 303;
  this.response.headers.Location = result.redirectionURL; 
}

Regards, Vlad