Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

When do you return 202 Accepted?

This interview card answers: When do you return 202 Accepted? When the server accepted work that will finish asynchronously. 201 would claim the order resource is fully created already. Intake SendMessage to SQS , then 202 + orderId; worker writes DynamoDB afterward.

When do you return 202 Accepted? When the server accepted work that will finish asynchronously. 201 would claim the order resource is fully created already. Intake SendMessage to SQS → 202 + orderId; worker writes DynamoDB afterward.
When do you return 202 Accepted? · Download PNG
Read card text

What this card says

What it is

When the server accepted work that will finish asynchronously.

Why it matters

201 would claim the order resource is fully created already.

How / example

Intake SendMessage to SQS → 202 + orderId; worker writes DynamoDB afterward.

See all AWS revision cards