jQuery - CORS Policy Issues with loading JSON-File from https side to http-webservice

Job ID: 37881165

Budget: €30 – €50 EUR

We are having a very simple internal webpage (Hosted on Server A) and using jQuery to load Data from an second internal server (Hosted on Server B).

The Server A with the webpage is providing https.
The Server B with the data/json webservice is providing http and can not be touched.

We have to lower or fix the CORS-Policy-Stuff or change the jQuery-Code that it is running.
Or we have to build a small own middleware in PHP to create a workaround.



Problem-Description on Client-Side:
Access to XMLHttpRequest at 'http://xxx:yyy@192.168.150.110:8080/xx/webService/?service=tv-xml-out' from origin 'http://192.168.201.106' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.


We can not provide the sources -> the job have to be done within a remote-session like teamviewer or anydesk.
Related categories: PHP JavaScript AJAX HTML jQuery