Delayed Response for Completing HTTP Requests

A pattern for using 202 Accepted to support delayed HTTP responses

In cases where the HTTP response will be delayed (due to extended processing, multi-step workflow, etc.) you can use the Accepted pattern to return 202 Accepted from the service (along with additional metadata) until the work is actually completed (e.g. 200 OK) or has failed (e.g. HTTP 400/500 response).