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
Post a Comment