Experiencing an issue when authenticating with Basic Auth. I am using a standard enum that conforms to URLRequestConvertible
protocol to construct my requests.
Alamofire provides an even easier approach than manually creating your own headers.
The relevant piece of code from "Basic Auth" section here:
manager.request(.GET, "https://api.parse.com/1/classes/Spot/")
.authenticate(user: username, password: password)
.responseSpotsArray { response in
completionHandler(response.result)
}