I’m working on the random quote machine project and I’m trying to implement quotes from https://quotesondesign.com/api-v4-0/.
Here is my current preliminary codepen: http://codepen.io/cupnoodl3s/pen/QKbXwk
I’m having issues getting the proper jquery script working to process the JSON data. I’ve looked around and found that I need to be using JSONP to acquire the data, but in the end I’m coming up with a MIME type error. I.e.
Refused to execute script from ‘http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1&callback=jQuery2240711820576042985_1473380231186&_=1473380231187’ because its MIME type (‘application/json’) is not executable, and strict MIME type checking is enabled.
If someone knows how I’m processing this incorrectly, help would be greatly appreciated. Thank you!