Hello,
We have a need to send some body inside DELETE method.

   - https://issues.apache.org/bugzilla/show_bug.cgi?id=55255

The same as :

curl -XDELETE 'http://localhost:9200/twitter/tweet/_query' -d '{
    "term" : { "user" : "kimchy" }
}
'

According to specs, it is possible.

Looking at org.apache.http.client.methods.HttpDelete , it seems it inherits
from org.apache.http.client.methods.HttpRequestBase and not
HttpEntityEnclosingRequestBase.
What is our option to implement it ?

Thanks
Regards
Philippe

Reply via email to