I have this piece of code where I send a POST request and set it a maximum timeout using the aiohttp package:
POST
aiohttp
from aiohttp import Client