Gets availability for a property


Ask a Question
Back to All

Gets availability for a property


I am trying to run this request

const settings = {
async: true,
crossDomain: true,
url: '',
method: 'GET',
headers: {
accept: 'application/json',
'X-ApiKey': '--REDACTED--'

$.ajax(settings).done(function (response) {

but getting CORS error in my browser.

Getting this error please help: Access to XMLHttpRequest at '' from origin '' 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.