Last active
February 23, 2018 20:42
-
-
Save IsaAliev/e0cbfb88d4170ab8f3459ea6cef754fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct GETUsersLocationRequest: HTTPGETRequest { | |
var path: String = "https://api.github.com/users/" | |
var parameters: JSON? | |
var headerFields: [String: String]? | |
init(_ userName: String) { | |
path += userName | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment