Apache Unomi 1.1.x - Documentation
}; xhr.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"); // Use text/plain to avoid CORS preflight if (isGet) { xhr.send(); } else { xhr.send(data); } } Apache we stringify it and encode it if passed as a URL parameter in a GET request. • We need to make a CORS request since the Unomi server is most likely not running on the same host than the one from which0 码力 | 32 页 | 477.20 KB | 1 年前3Apache Unomi 2.x - Documentation
passed as a URL parameter in a GET request. We need to make a CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) request since the Unomi server is most likely not running on }; xhr.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"); // Use text/plain to avoid CORS preflight if (isGet) { xhr.send(); } else { xhr.send(data); } } JAVASCRIPT0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
}; xhr.setRequestHeader("Content-Type", "text/plain;charset=UTF-8"); // Use text/plain to avoid CORS preflight if (isGet) { xhr.send(); } else { xhr.send(data); } } There we stringify it and encode it if passed as a URL parameter in a GET request. • We need to make a CORS request since the Unomi server is most likely not running on the same host than the one from which0 码力 | 158 页 | 3.65 MB | 1 年前3
共 3 条
- 1