Skip to content

Commit

Permalink
Update ApiClient.java
Browse files Browse the repository at this point in the history
Jersey doesn't allow entities in method DELETE
  • Loading branch information
eric-rolli authored Sep 5, 2024
1 parent 54cce49 commit 1f51703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ private Response sendRequest(String method, Invocation.Builder invocationBuilder
} else if ("PUT".equals(method)) {
response = invocationBuilder.put(entity);
} else if ("DELETE".equals(method)) {
response = invocationBuilder.method("DELETE", entity);
response = invocationBuilder.method("DELETE");
} else if ("PATCH".equals(method)) {
response = invocationBuilder.method("PATCH", entity);
} else {
Expand Down

0 comments on commit 1f51703

Please sign in to comment.