public JSONObject deleteModel(int modelID) {
JSONObject model = new JSONObject();
try {
model =
Unirest.delete(MessageFormat.format("http://{0}:{1}/deployment/{2}/model/{3}", host, port, deploymentID, modelID))
.header("accept", "application/json")
.header("Content-Type", "application/json")
.asJson()
.getBody().getObject();
} catch (UnirestException e) {
e.printStackTrace();
}
return model;
}
Model.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:SKIL_Examples
作者:
评论列表
文章目录