docs: public static String getQueryParameterValue(RESTRequest request, String name) {
          if (!"post".equalsIgnoreCase(request.getMethod())) {
              return request.getParameter(name);
          }
  
          if (request.getQueryString() == null) {
              return null;
          }
  
          Hashtable params = null;
          try {
              params = RequestUtils.parseQueryString(request.getQueryString());
          } catch (Exception e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event("DefaultRoutingHelper", tc, "Failed to parse the query string:\n Exception: " + e);
              }
              return null;
          }
  
          String[] values = (String[]) params.get(name);
          String value = null;
          if (values != null && values.length > 0)
          {
              value = values[0];
          }
  
          return value;
      }