code: func hMain(w http.ResponseWriter, r *http.Request) {
  	errMsg := "Something went wrong with my wiring... I'll get that fixed up soon."
  	ret, err := ProcessText(r)
  	if err != nil {
  		if len(ret) > 0 {
  			ret = errMsg
  		}
  		log.Info("failed to process text.", err)
  		// TODO notify plugins listening for errors
  	}
  	w.Header().Set("Access-Control-Allow-Origin", "*")
  	w.Header().Set("Access-Control-Allow-Headers", "Content-Type,Access-Control-Allow-Origin")
  	_, err = fmt.Fprint(w, ret)
  	if err != nil {
  		writeErrorInternal(w, err)
  	}
  }
docs: // hMain is the endpoint to hit when you want a direct response via JSON.
  // The Abot console uses this endpoint.