Concept Flow - Building URLs programmatically
Start with base URL string
Create URL object
Set or update URL parts (path, query, hash)
Serialize URL object to string
Use the final URL string
This flow shows how to start with a base URL, build or update parts using the URL object, then get the final URL string.