Monkey Albino

Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ dhakazone.com/ catalog/ controller/ extension/ openbay/

/home/bdapparelinfo/dhakazone.com/catalog/controller/extension/openbay/openbay.php

<?php
class ControllerExtensionOpenbayOpenbay extends Controller {
    public function index() {
        $this->response->addHeader('Cache-Control: no-cache, must-revalidate');
        $this->response->addHeader('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
        $this->response->addHeader('Content-type: application/json; charset=utf-8');
        $this->response->addHeader('X-Openbay-Header: hello');

        http_response_code(200);
        $this->response->setOutput(json_encode(array('reply' => 'hello')));
    }
}