用
$http.put,
$http.post或者
$http.patch,该 配置 含有网址参数对象超出作为 第三个参数
,所述第二参数是所述请求体:
$http.put("/api/test", // 1. url {}, // 2. request body { params: { heroId: 123, power : "Death ray" } } // 3. config object);$http.put
参考文件

用
$http.put,
$http.post或者
$http.patch,该 配置 含有网址参数对象超出作为 第三个参数
$http.put("/api/test", // 1. url {}, // 2. request body { params: { heroId: 123, power : "Death ray" } } // 3. config object);$http.put
参考文件