REST routes for posting and retrieving posts