rest - HTTP Status for "already logged in" -


say rest client logged in , attempts login again, in case server ignores request. status should returned here?

i think api away returning exact same status code / message if successful first login.

here's why... way see it, have 2 different scenarios perspective of api: new login , re-login. programmatically there difference.

but, perspective of api consumer, consumer wants know if login successful, was.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -