Networking with URLSession, Episode 5: URLSession Cookbook 2 | Kodeco

This content was released on Mar 21 2017. The official support period is 6-months from this date.

Learn about URLRequest and HTTP headers, then create a URLSessionDataTask to POST to a REST API. Also build an Alamofire-inspired PostRouter to create URLRequests.


This is a companion discussion topic for the original entry at https://www.kodeco.com/3986-networking-with-urlsession/lessons/5