URLComponents
-

Fix: URL Percent Encoding Does Not Escape Slashes in Swift
Learn why Swift’s percent encoding leaves slashes unescaped and how to properly encode URL query items and path parameters using Foundation APIs.

Learn why Swift’s percent encoding leaves slashes unescaped and how to properly encode URL query items and path parameters using Foundation APIs.