Error when trying to get crm record
Usinf the CRM API, I'm trying to pull a record from our CRM by getRecordById, but I'm getting the following error:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.w3schools.com' is therefore not allowed access.
The full code can be found here:
Appreciate your help with this.