Recipes/Go net/http
Extract video data with Go
Extract video data with Go: a net/http example that submits an extraction job with an idempotency key, so a retried request never runs twice.
The code
Notes
The idempotency key is derived from the run and the video rather than generated fresh, so retrying after a timeout returns the original job instead of queueing the video twice. See retries and idempotency.
Was this page useful?Tell us what was missing