         body.append(imageData)
         appendStringBlock("\r\n--\(boundary)--\r\n")
 
-        print("body: ", NSString(data:body as Data, encoding:String.Encoding.utf8.rawValue))
-        let task = self.session.uploadTask(with: request as URLRequest, from: body as Data,completionHandler: {
+        let task = self.session.uploadTask(with: request as URLRequest, from: body, completionHandler: {
             data, response, error in
             switch (data, response, error) {
             case (_, _, let error?):

                       parameter: [String: String],
                       imageData: Data,
                       completion: @escaping (Result<Data, FoursquareClientError>) -> Void) {
        // Add necessary parameters
        var parameter = parameter
        if let accessToken = self.accessToken {
            parameter["oauth_token"] = accessToken

        }
        parameter["v"] = self.version

        for (key, value) in parameter {
            appendStringBlock("--\(boundary)\r\n")
            appendStringBlock("Content-Disposition: form-data; name=\"\(key)\"\r\n\r\n")
            appendStringBlock("\(value)\r\n")
        }

        appendStringBlock("\r\n--\(boundary)\r\n")
