oracle / cordova-plugin-wkwebview-file-xhr

Cordova Plugin for WebView File XHR
Universal Permissive License v1.0
138 stars 120 forks source link

not working with xml request #60

Closed satish0563 closed 4 years ago

satish0563 commented 4 years ago

I am calling API with XML request but it goes inside exception delivering event

manish2788 commented 4 years ago

@satish0563 Can you please elaborate the issue you are facing. What do you mean by calling API? which API you intend to call.

manish2788 commented 4 years ago

Closing this issue due to lack of response. Please log another issue with detail and logs if you need any assistance.

franknoel commented 4 years ago

We had a similar issue, our XMLHttpRequest request always had the text type on iOS. We used the following code to force the request type:

var req = new XMLHttpRequest();
req.responseType = 'document';
req.overrideMimeType('text/xml');