Selaa lähdekoodia

change delete method ,move path parameters to body

csi0n 6 vuotta sitten
vanhempi
commit
6e0e4a7fa8
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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();