Validate the sent POST data