Function cleanRequestData