I am creating an api in rest that when a user uses the api this changes some values inside a json file several times however I do not know if how much a client loses the connection with the api this for immediately or if only verifies that This lost the connection when it sends a response.