describe how to build URLs for querying