Convert an object to a query string.
Usage:
const ret = convertObjectToQuery({ t1: '1', t2: '2', t3: '3', t4: '4' });console.log(ret); Copy
const ret = convertObjectToQuery({ t1: '1', t2: '2', t3: '3', t4: '4' });console.log(ret);
Output:
?t1=1&t2=2&t3=3&t4=4 Copy
?t1=1&t2=2&t3=3&t4=4
The object to convert to a query string.
The query string.
Convert an object to a query string.
Usage:
Output: