deal with POST data in server