adds a post resource