code: def RecordHelloWorld(handler, t):
      
      url = "%s/receive_recording.py" % THIS_URL
      t.startRecording(url)
      t.say ("Hello, World.")
      t.stopRecording()
      json = t.RenderJson()
      logging.info ("RecordHelloWorld json: %s" % json)
      handler.response.out.write(json)
docs: Demonstration of recording a message.