code: public void callServerH2H() {
          if(CoreEngine.getInstance().getConfig().getToken() == null){
              System.out.println("Call init Token");
              ThunderExporterService.getInstance().registerAppInThunder();
          }else{
              MessageEvent me = new MessageEvent();
              me.setToken(CoreEngine.getInstance().getConfig().getToken());
              me.setReference(CoreEngine.getInstance().getConfig().getReference());
              String result = ThunderExporterService.getInstance().sendDataHTTPOldSchool("/event",me);
              System.out.println("Result on /event "+result);
              Gson gson = new Gson();
              try {
                  Type typeList = new TypeToken<ArrayList<MessageEvent>>() {}.getType();
                  List<MessageEvent> listEvent = gson.fromJson(result, typeList);
                  for(MessageEvent meResult : listEvent) {
                      System.out.println("MessageEvent "+meResult.toString());
                      switch (meResult.getTypeMessageEvent()) {
                          case INIT_PATH:
                              CoreEngine.getInstance().initPathsRemote();
                              break;
                          case ENABLE_ENTRY_POINT:
                              enableEntryPoint(meResult);
                              break;
                          default:
                              throw new IllegalStateException(meResult.getTypeMessageEvent() + " is not supported");
                      }
                  }
  
              }catch (JsonParseException e){
                  System.err.println("Error on /event with token "+CoreEngine.getInstance().getConfig().getToken()+" and reference "+CoreEngine.getInstance().getConfig().getReference());
              }
          }
      }
docs: Step 1 : create the application
  Next Step : get the event H2H