handle return data after post data