200-901 · Question #139
How does requesting a synchronous API operation differ from requesting an asynchronous API operation?
The correct answer is C. clients can access the results immediately. In a synchronous API operation, the client sends a request and blocks (waits) until the server completes the operation and returns the result in the same HTTP response. The client can access results immediately upon receiving the response. In contrast, asynchronous operations…
Question
How does requesting a synchronous API operation differ from requesting an asynchronous API operation?
Options
- Aclients poll for the status of the execution of operations
- Bclients subscribe to a webhook for operation results
- Cclients can access the results immediately
- Dclients receive responses with a task id for further processing
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- C93% (27)
Explanation
In a synchronous API operation, the client sends a request and blocks (waits) until the server completes the operation and returns the result in the same HTTP response. The client can access results immediately upon receiving the response. In contrast, asynchronous operations return a task ID or job reference (D) so the client can poll for status (A) or receive a webhook callback (B) when processing is complete. The key differentiator is that synchronous = immediate result in the response, asynchronous = deferred result retrieved separately.
Topics
Community Discussion
No community discussion yet for this question.