doc: fix code examples in url.md
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc, url
- update outputs in code examples
- refine spaces in code examples
- restore missing part in code example (unify with other examples)