Today I learned that javascript has a handy built-in function called URLSearchParams() that you can use to build a url query string from an object. You'll want to be careful with complex object list ...