How do you handle long-running requests in REST APIs?
- Async Processing → Return 202 Accepted with a status URL (/jobs/{id}).
- Client polls the status endpoint until job is complete.
- Optionally use Webhooks for notifying clients.
👉 Example: File processing, report generation.