Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

HTTP Code 409 for existing email, not 400 #36

Open
nickdnk opened this issue Feb 15, 2017 · 0 comments
Open

HTTP Code 409 for existing email, not 400 #36

nickdnk opened this issue Feb 15, 2017 · 0 comments

Comments

@nickdnk
Copy link

nickdnk commented Feb 15, 2017

Hello

I don't know if this is the right place to submit this, but...

When subscribing an email to a list via the API which is already present, the server returns 400. 400 is not appropriate for a request that was correctly formed. It should respond with 409 Conflict instead. This would also make it easier for APIs to distinguish between a duplicate and an actual request error.

Just my 2 cents.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant