method request documentation in bbn\Appui\Api

function(string $action, array $cfg = []) { if ($this->jwt) { $key = self::_get_key(true); $jwt = $this->jwt->setKey($key)->set(['data' => $cfg]); if ($res = X::curl( self::REMOTE.'/' . constant('BBN_ID_APP'), ['action' => $action, 'data' => $jwt] ) ) { $key = self::_get_key(); return $this->jwt->setKey($key)->get($res); } else { throw new Exception(X::_("Impossible to send the request")); } } else { throw new Exception(X::_("No JWT")); } }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.