Added GetPosts API