SpinTheMic
Pro

Explain it in 60 seconds

What POST should return

Backend Engineering · API Design · Beginner

When a client creates a resource with POST, what should the API return?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • 201 Created status.
  • Location header with new resource URL.
  • Body with created resource (incl. ID).
  • Server-generated fields included.
  • 400/409 on validation or conflict.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics