Add POST /posts validation