You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on May 28, 2018. It is now read-only.
does jersey 2.x Client API support DELETE with a body ? #3798
changed the title [-]jersey 2.x Client API do not support DELETE with Entity.entity.. body, why?[/-][+]does jersey 2.x Client API support DELETE with a body ?[/+]on Apr 2, 2018
method("DELETE",Entity.entity(json.toString(),MediaType.APPLICATION_JSON_TYPE));
this will cause a error:
ijava.lang.IllegalStateException: Entity must be null for http method DELETE.
what should I do? ,while, RESTeasy have no such limitation?
Activity
[-]jersey 2.x Client API do not support DELETE with Entity.entity.. body, why?[/-][+]does jersey 2.x Client API support DELETE with a body ?[/+]sosoeo commentedon Apr 3, 2018
method("DELETE",Entity.entity(json.toString(),MediaType.APPLICATION_JSON_TYPE));
this will cause a error:
ijava.lang.IllegalStateException: Entity must be null for http method DELETE.
what should I do? ,while, RESTeasy have no such limitation?