Use http_build_query to build get parameters