Objek JavaScript ke string params
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');
Bright Booby
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');