docstr: /models
  
  returns:
  [model1, model2, model3, ...] list of model names
docstr_tok: ["\/models","returns",":","[","model1",",","model2",",","model3",",","...","]","list","of","model","names"]
code: def GET(self):
      """
      /models
  
      returns:
      [model1, model2, model3, ...] list of model names
      """
      global g_models
      return json.dumps({"models": g_models.keys()})
  
file_path: nupic-legacy/src/nupic/simple_server.py
imports: import os
  import sys
  import datetime
  import json
  import web
  from nupic.frameworks.opf.model_factory import ModelFactory
label_desc: Use image node_id 1 for calling the ModelHandler obj's underlying member method code with example usage: obj.GET() and returns: json