---
title: "Discussion on \"Polling an async rewrite API from a Python job queue: 202s, statuses and retries\" | Hashnode"
description: "Discussion on \"Polling an async rewrite API from a Python job queue: 202s, statuses and retries\". Your web app can return a job ID before a rewrite is ready. A background worker then submits the text to the AI humanizer API from AI Checker Humanizer, gets 202 Accepted with a task ID, and polls for"
url: "https://hashnode.com/posts/polling-an-async-rewrite-api-from-a-python-job-queue-202s-statuses-and-retries/6b09ac2153c5eff98f0d2ec3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Polling an async rewrite API from a Python job queue: 202s, statuses and retries](https://jackmarlow.hashnode.dev/polling-an-async-rewrite-api-from-a-python-job-queue-202s-statuses-and-retries?utm_source=hashnode&utm_medium=feed)

Your web app can return a job ID before a rewrite is ready. A background worker then submits the text to the AI humanizer API from AI Checker Humanizer, gets 202 Accepted with a task ID, and polls for

Nov 27 · 6 min read · jackmarlow.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#api](https://hashnode.com/tag/api)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Jack Marlow](https://hashnode.com/@jackmarlow)

@jackmarlow

  
[View profile](https://hashnode.com/@jackmarlow)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
