object to params js code example
Example: javascript object to params string
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');