Controller/Adminhtml/FastlyCdn/SyntheticPages/GetWafPageRespObj.php
public function execute()
    {
        $result = $this->resultJson->create();
        try {
            $activeVersion = $this->getRequest()->getParam('active_version');
            $response = $this->api->getResponse($activeVersion, Config::WAF_PAGE_RESPONSE_OBJECT);

            if (!$response) {
                return $result->setData([
                    'status'    => false,
                    'msg'       => 'Failed to fetch WAF page Response object.'
                ]);
            }

            return $result->setData([
                'status'        => true,
                'wafPageResp'   => $response
            ]);
        } catch (\Exception $e) {
            return $result->setData([
                'status'    => false,
                'msg'       => $e->getMessage()
            ]);
        }
    }
public function execute()
    {
        $result = $this->resultJson->create();
        try {
            $activeVersion = $this->getRequest()->getParam('active_version');
            $response = $this->api->getResponse($activeVersion, Config::WAF_PAGE_RESPONSE_OBJECT);

            if (!$response) {
                return $result->setData([
                    'status'    => false,
                    'msg'       => 'Failed to fetch WAF page Response object.'
                ]);
            }

            return $result->setData([
                'status'        => true,
                'wafPageResp'   => $response
            ]);
        } catch (\Exception $e) {
            return $result->setData([
                'status'    => false,
                'msg'       => $e->getMessage()
            ]);
        }
    }
Get the WAF page content

@return $this|\Magento\Framework\App\ResponseInterface|\Magento\Framework\Controller\ResultInterface