Ich habe diese Methode. Wenn ich auf "Entfernen" klicke, wird console.log
-message angezeigt, aber nicht auf den Server. Was fehlt mir?DELETE-Methode in Typoskript
removeSelecteds(instances: number[]) : Observable<void>{
var obj = { instanceIds: instances };
console.log('JSON.stringify(obj)='+JSON.stringify(obj));
return this.http
.request(URLS.instances+'/remove', RequestMethod.Delete, JSON.stringify(obj))
.map(res => {
this.getInstances();
}
);
}
Vielen Dank im Voraus