我写的这不正确
HttpClient httpClient = HttpClientBuilder.create().header("Access-Control-Allow-Origin", "*")
.header("Access-Control-Allow-Methods", "GET, POST, DELETE, PUT")
.allow("OPTIONS").build();
答案 0 :(得分:1)
您可以为CORS原始过滤器编写组件类
serial.to_bytes(sequence)