I'm creating a RESTful API for creating users that enforces unique email addresses:
Successful POST /users
: HTTP 201 Created
If I POST
the same email address again, what should the response code be? Is 409 Conflict
the appropriate response code?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…