queryparams.js
341 Bytes
Create query params
Edited-
- Función que puede ayudar
let jsonToQueryParam = (obj) => { let esc = encodeURIComponent; let query = Object.keys(obj).map(k => esc(k) + '=' + esc(obj[k])).join('&'); return query; };
Please
register
or
sign in
to comment