The post function calls request the request function which uses its own context manager that will call the close function of the connection object.
The post function calls request the request function which uses its own context manager that will call the close function of the connection object.