to reduce the payload size, I'd only pass in parameters that are not 0 since if Timing-Allow-Origin is not set, then cross-domain resources will not have all parameters.