merged parse into parsePostData