Response error Share data g.res.shared is used to share data between post-hooks, pre-hooks, and code within that API. 1 2g.res.shared = {'name': 'Joe'}; return g.res.shared.name; Response { "success": true, "statusCode": 200, "data": "Joe" }