Implemented get and delete post.