Evgenij Reznik
Evgenij Reznik

Reputation: 18594

REST: Which HTTP-status-codes?

I have to handle some client requests to my server using rest.
The client makes a request sending an ID and I want to return suitable http-error-codes in case the ID

But unfortunately I'm not sure about the right code.

Upvotes: 0

Views: 160

Answers (1)

Tronix117
Tronix117

Reputation: 1985

  • is invalid: 400
  • doesn't exist: 404
  • existed before, but not anymore: 410

Upvotes: 1

Related Questions