/** * Perform HTTP PUT for given URI * * @param \Bpi\Sdk\Document $document */ public function put(Document $document) { $document->request('PUT', $this->crawler->attr('href')); }
/** * * @param \Bpi\Sdk\Document $document */ public function post(Document $document) { $document->request('POST', $this->crawler->attr('href'), $this->render()); }