function($data, $headers, $db) { var_dump($db); return [ "message" => "hello api" ]; } ];