code: public static void post(String url, HttpConsumer<HttpExchange> endpoint, MediaTypes... mediaTypes) {
          addResource(Methods.POST, url, endpoint, mediaTypes);
      }
docs: Define a REST endpoint mapped to HTTP POST
  
  @param url        The relative URL to be map this endpoint.
  @param endpoint   The endpoint handler
  @param mediaTypes (Optional) The accepted and returned types for this endpoint