protected function setPostCurlopts()
    {
        $curlopts = [
            CURLOPT_HTTPHEADER => $this->headers,
            CURLOPT_POST => 1,
            CURLOPT_POSTFIELDS => $this->postFields,
            CURLOPT_HEADER => 0,
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_VERBOSE => false,
            CURLOPT_RETURNTRANSFER => true
        ];

        return $curlopts;
    }
protected function setPostCurlopts()
    {
        $curlopts = [
            CURLOPT_HTTPHEADER => $this->headers,
            CURLOPT_POST => 1,
            CURLOPT_POSTFIELDS => $this->postFields,
            CURLOPT_HEADER => 0,
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_VERBOSE => false,
            CURLOPT_RETURNTRANSFER => true
        ];

        return $curlopts;
    }
protected function setPostCurlopts ( ) { $ curlopts = [ CURLOPT_HTTPHEADER => $ this -> headers , CURLOPT_POST => 1 , CURLOPT_POSTFIELDS => $ this -> postFields , CURLOPT_HEADER => 0 , CURLOPT_SSL_VERIFYPEER => false , CURLOPT_VERBOSE => false , CURLOPT_RETURNTRANSFER => true ] ; return $ curlopts ; }
Set the cUrl Options for a PUT request

@return array
Set the cUrl Options for a PUT request