HTTP Requests in Swift 3
<p>I am fairly new to Swift, and am trying to make an HTTP request. I tried many of the ideas <a href="https://stackoverflow.com/questions/24016142/how-to-make-an-http-request-in-swift">in this Stack Overflow question</a>, but all caused errors when run in a playground; I believe this is because they are all in Swift 1.0-2.0. </p>

<p>How can I make an HTTP request in Swift <em>3</em>?</p>

<p><strong>Update</strong> I tried the first solution presented in <a href="https://stackoverflow.com/a/24016254/5700898">this answer</a> and, after completing Xcode's suggested "Fix-its" I encountered four errors:</p>

<p><a href="https://i.stack.imgur.com/9Xjeh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9Xjeh.png" alt="enter image description here"></a></p>