private HashMap<String, String> parseURLParams() {
        HashMap<String, String> urlParamMap = new HashMap<>();
        Pattern pattern = Pattern.compile("(?<=\\?)(\\S+)");
        Matcher matcher = pattern.matcher(headerString);
        if (matcher.find()) {
            String[] paramQueries = matcher.group(1).split("&");
            for (String paramQuery : paramQueries) {
                String[] queryPair = paramQuery.split("=");
                String key;
                String value;
                try {
                    key   = URLDecoder.decode(queryPair[0], "UTF-8");
                    value = URLDecoder.decode(queryPair[queryPair.length - 1], "UTF-8");
                    urlParamMap.put(key, value);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        } else {
            urlParamMap = null;
        }

        return urlParamMap;
    }