on 03-06-2024 11:19 AM
I am trying to read an MII Transaction through web service from my PC and I am getting the cors error. I am using ajax call for this. This I am trying to monitor the Dev server availability. I am passing the login username and password through the IllumLoginName and IllumLoginPassword and the link runs fine, I get this JSON output when I run this link directly in a browser.
Also, I can open the link using window.open() and it opens fine.
But when using the link in an ajax call, even with crossDomain:true,,, it returns this error.
Access to XMLHttpRequest at 'https://vchgmesd251.na.int.grp:50001/XMII/Runner?Transaction=DEVTest/Transaction/serverCheckTest&Out...' from origin 'http://127.0.0.1:5501' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
POST https://vchgmesd251.na.int.grp:50001/XMII/Runner?Transaction=DEVTest/Transaction/serverCheckTest&Out... net::ERR_FAILED 200 (OK)
Is there any way to make it work? or are there any other solutions?
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.