I would like to ask if anyone knows how to do a Delete method using the HTTP plugin or the VelocityReport plugin (Servoy 5.2).
I was trying to translate these java codes in java maybe the plugins above may help me or may not.
- Code: Select all
public static ClientResponse RemoveMailingList() {
Client client = Client.create();
client.addFilter(new HTTPBasicAuthFilter("api",
"xxx"));
WebResource webResource =
client.resource("https://api/VERSION/lists/" +
"DOMAIN");
return webResource.delete(ClientResponse.class);
}
I am accessing a API , for now I am able to do the POST method , I would just like to learn and understand how to do the DELETE method in
servoy.
Thank you in advance,
palacio