doGetRequestRaw example

'technicalName' => $request->getTechnicalName(),
            'shopwareVersion' => $request->getVersion(),
        ];

        if ($request->getToken()) {
            $result = $this->storeClient->doAuthGetRequestRaw(
                $request->getToken(),
                '/pluginFiles/' . $request->getTechnicalName() . '/data',
                $params
            );
        } else {
            $result = $this->storeClient->doGetRequestRaw(
                '/pluginFiles/' . $request->getTechnicalName() . '/data',
                $params
            );
        }

        $result = json_decode($result, true);

        return new MetaStruct(
            $result['location'],
            $result['size'],
            $result['sha1'],
            
Home | Imprint | This part of the site doesn't use cookies.