on ‎2020 Mar 13 8:02 AM
Hi,
We have created new addon to expose our services. But when customer trying to do the webservice call from Chrome, its returning following error:
Access to XMLHttpRequest at 'https://localhost:9002/mystoreintegration/setup' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
CROS.html:27 POST https://localhost:9002/mystoreintegration/setup net::ERR_FAILED
Service call is working fine in IE, But not working in Chrome and Mozilla.
Can you please help me on this. If sample code provided will be appreciated.
Thanks in advance.
Thanks,
Praveen
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.