- Scroll down a bit to see examples of
URLRequest
- I'm liking this blog more and more. Worth bookmarking.
- Decent article, though it makes use of Foundation types instead of Swift types.
- How to send values view
HTTPBody
inPOST
requests
- Very nice explanation of completion handlers if you need a refresher/more detail
- Also, the example uses JSONPlaceholder as well, so good place to get used to it
- URLRequest - Apple Doc
- JSONPlaceholder
- JSONPlaceholder Github (better docs)
- Updating NSURLSession to Swift 3
- Shows you the changes to
URLSession
from Swift 2.0 -> 3.0
- Shows you how to set up a fake endpoint in Ruby as well