JSONP API Removed
By Edouard on September 29, 2022
We’ve removed JSONP support on all our API endpoints. JSONP (JSON with Padding) is an historical JavaScript technique for requesting data by loading a <script>
element, and is ancient technology now.
It could be used to load data from our API using Javascript from another domain, by bypassing same-origin policy, which disallows running JavaScript code to read media DOM elements or XMLHttpRequest data fetched from outside the page’s originating site.
JSONP has been superseded with CORS in modern applications, which we support.
We’ve monitored our API usage over the past few days and nobody is using JSONP, so this deprecation won’t impact anyone.