-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Here's what returns when I try to access the API:
<html style="height:100%"><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><script src="/eu-Leaftle-He-cut-taking-Wealt-now-and-To-ping-w" async></script></head><body style="margin:0px;height:100%"><iframe id="main-iframe" src="/_Incapsula_Resource?CWUDNSAI=22&xinfo=8-327499274-0%20NNNN%20RT%281607381083306%2051%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B15%2814%2c0%2c0%29%20U5&incident_id=305000300633682760-1104887500921440136&edet=15&cinfo=0e000000c609&rpinfo=0" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 305000300633682760-1104887500921440136</iframe></body></html>' } }
Here's my code:
const realtor = require("realtorca");
let opts = {
LongitudeMin: -79.44438,
LongitudeMax: -79.404,
LatitudeMin: 43.75135,
LatitudeMax: 43.78448,
PriceMax: 1500000,
ZoomLevel: 15,
BuildingTypeId: 1,
};
realtor
.post(opts)
.then((data) => {
console.log(data);
})
.catch((err) => {
console.log(err)
});