handle: function handle()

in src/backend-global.js [16:29]


      handle: function handle(ctx) {
        const {demoString1, demoString2} = ctx.globalStorage.extensionProperties;
        const testQueryParam = ctx.request.getParameter('test');
        const {name} = ctx.settings;

        ctx.response.json({
          test: true,
          scope: 'global',
          name,
          testQueryParam,
          val1: demoString1,
          val2: demoString2
        });
      }