Middle+
If a REST request takes a minute, is it synchronous or asynchronous?
sobes.tech AI
Answer from AI
If a REST request takes a minute and the client waits for the response, it is a synchronous request — the client is blocked until the result is received. An asynchronous request implies that the client initiates the operation and does not wait for its completion, but receives the result later (for example, via callback, webhook, or polling). In the case of a long request lasting a minute, if the client waits for the response in the same connection, it is a synchronous operation, even if the server processes it for a long time.