             appendedURL = addQueryStringParameter(url, values: parameters);
         }
         
-        Alamofire.upload(Alamofire.Method.POST, (appendedURL != "") ? appendedURL:url, headers: buildHeader(ContentType.URLENCODED), file: fileURL)
+        Alamofire.upload(Alamofire.Method.POST, (appendedURL != "") ? appendedURL:url, headers: buildHeader(ContentType.URLEncoded), file: fileURL)
             .validate(statusCode: 200..<300)
             .responseJSON { response in
                 Log.sharedLogger.debug("\(self.TAG): Entered performBasicAuthFileUpload.responseJSON")

    case Alchemy = "gateway-a.watsonplatform.net"
}

public enum ContentType: String {
    case Text =         "text/plain"
    case JSON =         "application/json"
    case XML =          "application/xml"
    case URLENCODED =   "application/x-www-form-urlencoded"
}




/**
HTTP Methods used for REST operations

    case PUT
    case DELETE
    
    /**
    Converts enum value from Watson HTTP methods to Alamofire methods, so that projects don't have to import Alamofire
    
    - returns: Equivalent Alamofire method
    */
    func toAlamofireMethod() -> Alamofire.Method
    {
        switch self {
