DEV: use the existing parsePostData function (PR #9629)

GitHub