Ver código fonte

change delete method ,move path parameters to body

csi0n 6 anos atrás
pai
commit
6e0e4a7fa8
1 arquivos alterados com 2 adições e 1 exclusões
  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();