Add get post core api functionality