• Eyal Cohen 7
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,

I am new to the enviornment.

I am trying to send https get request to a server from LWC but it doesn't work. I have added the remote server domaion to CORS & CSP trusted sites but nothing help.

WIll appericiate nay help here.

Access to XMLHttpRequest at 'http://.......' from origin 'https://ruby-enterprise-9373-dev-ed.lightning.force.com' 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.