api routes - M-eLL/insecurity GitHub Wiki

Users

  • Log In POST api/session
  • Log out DELETE api/session
  • Sign Up POST api/users
  • Retrieve single user GET api/users/:id

Entries

  • Returns the user's entries GET api/entries
  • Returns a specific entry GET api/entries/:entryId
  • Create entry POST api/entries
  • Update entry PUT api/entries/:entryId
  • Delete entry DELETE api/entries/:entryId

Posts

  • Return all posts in the forum GET api/posts
  • Return specific post GET api/posts/:postId