Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cs Cart Rest Api Xmlhttprequest Rate Topic   - - - - -


Posted 16 September 2019 - 06:56 PM #1



This error given when i call my cs cart rest api.

Access to XMLHttpRequest at 'https://exmple.com//any/api/vendors'from origin 'http://localhost:4200' 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.

  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1673 posts

Posted 19 September 2019 - 12:51 PM #2



Have you done Postman access tests? Is it just a script ?


Best regards


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


Posted 24 September 2019 - 09:18 PM #3

Hello Robert,


Thank you for reply, yes I finished the access tests on postman, now it's just a js script.