             method: "GET",
             url: serviceURL + encodedPath,
             credentials: credentials,
-            headerParameters: defaultHeaders,
-            acceptType: "application/json",
+            headerParameters: headers,
             queryItems: queryParameters
         )
 

        failure: ((Error) -> Void)? = nil,
        success: @escaping (IntentExport) -> Void)
    {
        // construct query parameters
        var queryParameters = [URLQueryItem]()
        queryParameters.append(URLQueryItem(name: "version", value: version))

            method: "GET",
            url: serviceURL + encodedPath,
            credentials: credentials,
            headerParameters: headers,
            queryItems: queryParameters
        )

