I am using sitebricks http client to send http requests to a rest service. My question is how to send a payload data with delete ? post method accepts data as a parameter
WebClient<SubnetId> client = web().clientOf(deleteUser()).transports(User.class).over(Json.class);
//client.post(user) <-- this is OK !
client.delete(); // <-- delete does not accepts user !!!
Ok guys, a good discussion raised in here which is somewhat the answer.