private function setAccessHeaders(\Neuron\Net\Response $response) { $response->setHeader('Access-Control-Allow-Origin', '*'); $response->setHeader('Access-Control-Allow-Methods', 'POST, GET, PUT, DELETE, PATCH, OPTIONS'); $response->setHeader('Access-Control-Allow-Headers', 'origin, x-requested-with, content-type, access_token, authorization'); return $response; }