Skip to content

Commit 3e97663

Browse files
authored
Delete isn't a post method
This should fix the issue described in this stack overflow question https://stackoverflow.com/questions/49714538/unable-to-delete-an-object-parse-server
1 parent 79a7ec4 commit 3e97663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/com/parse4cn1/command/ParseDeleteCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public ParseDeleteCommand(String endPoint) {
4242
@Override
4343
void setUpRequest(ConnectionRequest request) throws ParseException {
4444
setupDefaultHeaders();
45-
request.setPost(true);
45+
request.setPost(false);
4646
request.setHttpMethod("DELETE");
4747
request.setUrl(getUrl(endPoint, objectId));
4848
}

0 commit comments

Comments
 (0)