             method: "POST",
             url: serviceURL + "/v3/profile",
             credentials: credentials,
-            headerParameters: defaultHeaders,
-            acceptType: "text/csv",
-            contentType: "text/html",
+            headerParameters: headers,
             queryItems: queryParameters,
             messageBody: body
         )

            return
        }

        // construct query parameters
        var queryParameters = [URLQueryItem]()
        queryParameters.append(URLQueryItem(name: "version", value: version))

            method: "POST",
            url: serviceURL + "/v3/profile",
            credentials: credentials,
            headerParameters: headers,
            queryItems: queryParameters,
            messageBody: body
        )
