testing api get posts