Skip to content

queryStringHandler fromObject

Mike Byrne edited this page Jan 25, 2022 · 2 revisions

description

Takes an object and turns it into a query string

requires

  • nothing

parameters

  • object - required - object to turn into a query string

returns

  • query string as a string

example usage:

var qs = queryStringHandler.fromObject({
  param1: 'param1value',
  param2: 'param2value'
});
// returns: ?param1=param1value&param2=param2value