* If the registry url already contains a 'parameter you need to use `&` and not `?`.
* reg.name needs to be escaped (use `encodeURIComponent`, it's a global in node)