add post resource