package de.nrw.hbz.edoweb2.api;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;

@Path("/delete")
public class EdowebAdminResource
{
	Actions actions = new Actions();

	public EdowebAdminResource()
	{

	}

	@POST
	@Path("/deleteMirror/{pid}")
	public String deleteMirror(@PathParam("pid") String pid)
	{

		String edo = actions.delete("edoweb:" + pid);
		String dtl = actions.delete("dtl:" + pid);
		return edo + "\n" + dtl;
	}
}

@@ -45,20 +45,22 @@
 x.ws.rs.
-POST
+DELETE
 ;%0Aimport
@@ -240,12 +240,14 @@
 %0A%0A%09@
-POST
+DELETE
 %0A%09@P

Delete not POST