Hi Matthew,

If you are using the WebClient APIs directly, you can call the
invoke(String method, Object body) method - under the covers, that's what
the delete() method does - for example:
    response = webClient.invoke("DELETE", myMsgBody);

Likewise in the JAX-RS Client APIs, you would use the 'method' method, like:
    response = client.target(url).request().method("DELETE",
Entity.json(myObject));

Hope this helps,

Andy

On Mon, Dec 11, 2017 at 3:33 PM, Matthew Broadhead <
[email protected]> wrote:

> i am using cxf webclient to communicate with a rest server that needs a
> delete command to send a body.  it can't seem to do that. is there a
> workaround?
>
>

Reply via email to