Incorporated api changes; get all posts works, but new post is messed up now