-1

Nouns are good and verbs are bad.

HTTP codes + the endpoint /user/123 can signify user create, read, update and delete operations. But what should the signin and signout endpoint be called?

How can i avoid method-driven-naming my API?

  • 1
    Random strangers posting provocative blog titles are bad. Having an understanding of the fundamentals to call out that author is good. Don't take "rules of thumb" as universal truths. – user53019 Sep 18 '14 at 13:34
  • 1
    @GlenH7 you mean, we're invited to Discuss this ${blog} ...yet again? – gnat Sep 18 '14 at 15:22
0

Depending on how your signin process works, the noun the client is requesting when they sign in might be something like a ticket or a session.

Not the answer you're looking for? Browse other questions tagged or ask your own question.