setParameterPost example



        $url = $this->endpoint . '/licenseupgrades/permission';
        $client = new Zend_Http_Client(
            $url,
            [
                'timeout' => 15,
            ]
        );

        foreach ($licenseData as $licenseDatum) {
            $client->setParameterPost('domain', $licenseDatum['host']);
            $client->setParameterPost('licenseKey', $licenseDatum['license']);
            $client->setParameterPost('version', $this->shopwareVersion);

            try {
                $response = $client->request(Zend_Http_Client::POST);
            } catch (Zend_Http_Client_Exception $e) {
                // Do not show exception to user if request times out                 return null;
            }

            try {
                
Home | Imprint | This part of the site doesn't use cookies.