text: /**
   * Encode query params
   */
  function encodeQueryData(data) {
    const ret = [];
    for (let d in data) {
      ret.push(encodeURIComponent(d) + "=" + encodeURIComponent(data[d]));
    }
    return ret.join("&");
  }
  
  module.exports = {
    encodeQueryData
  };
  