public static Map<String, String> translateParameterMap(Map<String, String[]> parameterMap) throws Exception {
        Map<String, String> map = new HashMap<>(16);
        for (Map.Entry<String, String[]> entry : parameterMap.entrySet()) {
            map.put(entry.getKey(), entry.getValue()[0]);
        }
        return map;
    }
@Test
    void testTranslateParameterMap() throws Exception {
        Map<String, String[]> map = Collections.singletonMap("K", new String[] {"V1", "V2"});
        Map<String, String> resultMap = HttpUtils.translateParameterMap(map);
        assertEquals(Collections.singletonMap("K", "V1"), resultMap);
    }