create post api and page