Explorar el Código

change delete method ,move path parameters to body

csi0n hace 6 años
padre
commit
6e0e4a7fa8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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();