receivedAllPosts and getPost rest methods IT