Skip to content

Commit

Permalink
reword first JSONP sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed May 21, 2024
1 parent 9ec21ca commit 6977289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/includes/json/_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For example, to embed petition content from a ControlShift website **demo.contro
you'd want to add **hq.example.org** to your CORS Hostnames.

### JSONP
JSONP is an older approach to allowing cross-origin requests for JSON data.
JSONP is an older way to allow cross-origin requests for JSON data.
The way it works is by specifying a Javascript callback that will handle the JSON data. The server wraps that callback around the data it returns.
This allows the call to technically be a Javascript request instead of a JSON request, and so the browser allows it.

Expand Down

0 comments on commit 6977289

Please sign in to comment.