parse post in callback