async with aiohttp.ClientSession() as http_session:
async with http_session.post(url, headers=headers, json=data) as response:
data = await response.json()
if data["status"] == "FAILED":
raise Exception("Aligning failed")
data["output"]
async with aiohttp.ClientSession() as http_session:
async with http_session.post(url, headers=headers, json=data) as response:
data = await response.json()
if data["status"] == "FAILED":
raise Exception("Aligning failed")
data["output"]