I want to create util method which converts HashMap into long String with keys and values:
HashMap<String, String> map = new LinkedhashMap<>();
map.put("first_key", "first_value");
map.put("second_key", "second_value");
I need to get this end result:
first_key=first_value&second_key=second_value