Hi,
Im having a issues when i call API via JSON Ajax command i get "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.".
It's doing my head in, Help would be appreciated.
Code below
-------------------------------------
$.ajax({
url: 'BRICKOWL API GO HERE',
dataType: 'json',
type: 'GET',
cache: false,
success: function(data) {
console.log(data);
}
});
--------------------------------------
Thanks,
Justin
Comments
> 'BRICKOWL API GO HERE' - did you write this or is this something you forgot to change?
I had "https://api.brickowl.com/v1/order/view?key=KEY&order_id=100" i just removed it for the post as it had my api key in it