202 Accepted
noun
say it: “TOO-oh-TOO ak-SEP-tid” /tu oʊ tu ækˈsɛptɪd/
An HTTP status code saying the request was received and its work will be done later.
What is 202 Accepted?
202 Accepted says the server took the request but the work will finish later, such as a video being converted. The answer often carries a Location header saying where to check on it.
res.status(202).location(`/jobs/${job.id}`).json({ status: "queued" });
In a sentence
- “The upload answers 202 Accepted at once and makes the thumbnail a few seconds later.”
- “A 202 Accepted answer isn't a promise the work will succeed; check the job's status.”
Level: Journeyman · More REST API terms at this level
Updated