src/Jaspersoft/Tool/RESTRequest.php
protected function executePutMultipart ($ch)
	{
        $post = $this->request_body;

		curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
		curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
		curl_setopt($ch, CURLOPT_URL, $this->url);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

		$this->response_body = curl_exec($ch);
		$this->response_info = curl_getinfo($ch);

        $this->closeCurlHandle();

	}
protected function executePutMultipart ($ch)
	{
        $post = $this->request_body;

		curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
		curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
		curl_setopt($ch, CURLOPT_URL, $this->url);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

		$this->response_body = curl_exec($ch);
		$this->response_info = curl_getinfo($ch);

        $this->closeCurlHandle();

	}
protected function executePutMultipart ( $ ch ) { $ post = $ this -> request_body ; curl_setopt ( $ ch , CURLOPT_CUSTOMREQUEST , 'PUT' ) ; curl_setopt ( $ ch , CURLOPT_POSTFIELDS , $ post ) ; curl_setopt ( $ ch , CURLOPT_URL , $ this -> url ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , true ) ; $ this -> response_body = curl_exec ( $ ch ) ; $ this -> response_info = curl_getinfo ( $ ch ) ; $ this -> closeCurlHandle ( ) ; }
Set verb to PUT_MP to use this function
Set verb to PUT_MP to use this function