Skip to content

Instantly share code, notes, and snippets.

@IsaAliev
Last active February 23, 2018 20:42
Show Gist options
  • Save IsaAliev/e0cbfb88d4170ab8f3459ea6cef754fd to your computer and use it in GitHub Desktop.
Save IsaAliev/e0cbfb88d4170ab8f3459ea6cef754fd to your computer and use it in GitHub Desktop.
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