Functions v .12

Added getPost function