added the posts definition the POST example

I got stuck for a little time on this demo because it misses the definition of the `posts` variable, I think having it on the example will help future users to don't have the same issue that I had.