Data Served by JSONP

Robert Jeansoulin · 2018

This chapter expresses that the “padding” of JavaScript Object Notation (JSON) to JSON with padding, JSONP is a workaround to avoid the rule of the same origin policy. JSONP was experimented in order to allow an object literal (JSON format), to be readable as a valid JavaScript code when the script engine is triggered by the tag. The Google global object proposes methods for handling the spreadsheet as well as preparing the JSONP. Yahoo proposes a request service whose syntax mimics an SQL command line: it is named Yahoo Query Language (YQL). For instance, a YQL request is able to query and send back data from an RSS feed. The chapter describes different coding method of sending the JSONP request: the tag will be inserted into the DOM by the first , now alone. The other difference is that Flickr is both an image repository service and a JSONP service, therefore, the same URL hosts the two services.

Read the paper · More papers on PaperTik