Quotesbydesign api


Has anyone been getting this error recently:

XMLHttpRequest cannot load https://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=25. The 'Access-Control-Allow-Origin' header has a value 'http://null' that is not equal to the supplied origin. Origin 'null' is therefore not allowed access.

I had the quote project working with this before? Does anyone know if something was changed recently?

Thanks for the help!

You should read up on CORS and same-origin policy https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS. I believe this is the issue you are running into.

I’ll check it out. Thanks!