≈ the.bay.news

Long-running REST APIs: 202 Accepted, Location, job status polling, and webhooks in OpenAPI

DEV Community
Long-running REST APIs: 202 Accepted, Location, job status polling, and webhooks in OpenAPI
Holding an HTTP connection open for a three-minute export times out and ties up workers. Return 202 Accepted with a Location to a job resource, model the job state machine, and let clients poll or subscribe to a webhook. Here is the full lifecycle with progress and cancellation, and the OpenAPI...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.