code: public static void post(HttpConsumer<HttpExchange> endpoint, MediaTypes... mediaTypes) {
          addResource(Methods.POST, HandlerUtil.BASE_PATH, endpoint, mediaTypes);
      }
docs: Define a REST endpoint mapped to HTTP POST with default path "/" as url
  
  @param endpoint   The endpoint handler
  @param mediaTypes (Optional) The accepted and returned types for this endpoint