|
|
|
@ -181,7 +181,7 @@ public class MaxKbImpl {
|
|
|
|
|
public static String _bach(String authCode, String zskId, String body) {
|
|
|
|
|
System.out.println("发送的body="+body);
|
|
|
|
|
String url = baseUrl + "/api/dataset/" + zskId + "/document/_bach";
|
|
|
|
|
HttpResponse response = HttpRequest.put(url)
|
|
|
|
|
HttpResponse response = HttpRequest.post(url)
|
|
|
|
|
.header("Accept", "application/json, text/plain, */*")
|
|
|
|
|
.header("Accept-Encoding", "gzip,deflate")
|
|
|
|
|
.header("Accept-Language", "zh-CN,zh;q=0.9")
|
|
|
|
|