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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -