ExtJS Convert Query Parameter Object to URL

Assume we have a parameter object

 

To convert it to URL query, we can use following code

it will output

name=POS&min_price=10&start_date=2016-01-01

 

And to concatenate two URL part, we can use following code

It will build URL like following

http://test.com/products/export?name=POS&min_price=10&start_date=2016-01-01