BatchSender: using CORS to send the data