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 !!!--
You received this message because you are subscribed to the Google Groups "Google Sitebricks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-sitebri...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--