function for parsing incoming post requests
success!