BottleRocketStudios / iOS-Hyperspace

An extremely lightweight wrapper around URLSession to make working with APIs a breeze.
Apache License 2.0
47 stars 17 forks source link

Add built-in support for x-www-form-urlencoded #103

Closed tylermilner closed 4 years ago

tylermilner commented 5 years ago

URL encoded forms are a pretty common mechanism of sending credentials to a backend for OAuth. We should add some built-in support for making it easy to generate a request in this format. Check out this code example on the Apple developer forums: https://forums.developer.apple.com/thread/113632.