I want to fetch the google profile image when UID is given to me . I have this reference but m getting how to hit this url . Please anyone provide me some example.
EDIT: Here is my code
var googleImageUrl: URL?{
    let urlString = "https://www.googleapis.com/plus/v1/people/\(uid)?fields=image&key=AIzaSyBfjHpl8DjU0IGw9mXbvK6HoNpY"
    return URL(string: urlString)
}
Alamofire.request(url)
    .validate()
    .responseJSON(completionHandler: { (response) in
        if response.result.isSuccess {
            let json = response.result.value as? [String: Any]
        } else {
            let apiError = ApiError(response: response)
        }
    })
when hitting this api, am always getting the error. Why i am not getting the response ?
 
     
     
    