How to send request from WKWebView (which uses localhost)?

  • Last Post 17 January 2017
peter posted this 16 January 2017


I am develpoping an application using your service.

When I make http request to your service from iOS device with WKWebView which works on http://localhost:6985 under its hood, I get the issue - XMLHttpRequest cannot load Origin http://localhost:6985 is not allowed by Access-Control-Allow-Origin.

But WKWebView cannot work without this embedded server in it.

How can I solve this issue?

Oksana S. posted this 17 January 2017

Unfortunately, ABBYY Cloud OCR SDK does not support the CORS technologies. We recommend to run the script on the server side, and not the browser.