Browse Source

change delete method ,move path parameters to body

csi0n 6 years ago
parent
commit
6e0e4a7fa8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Builder.php

+ 2 - 1
src/Builder.php

@@ -454,7 +454,8 @@ class Builder {
      */
     public function delete()
     {
-        $this->appendDataToURL();
+        // $this->appendDataToURL();
+        $this->setPostParameters();
 
         return $this->withOption('CUSTOMREQUEST', 'DELETE')
             ->send();