in reply to sending URL + query string?

Windows?
system("start $url");

The URL can be generated using URI's query_form