Ravi Sir's Cards › AWS
Done or accepted?
This comparison card contrasts Done or accepted. HTTP 201 is described as resource created in this request. HTTP 202 is described as accepted for processing. It also notes not finished yet. The card pairs HTTP 201 with finished write, and HTTP 202 with async work.
Read card text
What this card says
Done or accepted?
HTTP 201
Resource created in this request.
HTTP 202
Accepted for processing; not finished yet.
Key points
Sync PutItem success.
Enqueued order.
Example
Return 201 + body.
Use when
Finished write.
Async work.