From 6977289622a88e0695ef5ae60bd9f1cc1a5d2048 Mon Sep 17 00:00:00 2001 From: Grey Moore Date: Tue, 21 May 2024 16:38:00 -0400 Subject: [PATCH] reword first JSONP sentence --- source/includes/json/_intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/json/_intro.md b/source/includes/json/_intro.md index 393bd0851fe..55794007e1f 100644 --- a/source/includes/json/_intro.md +++ b/source/includes/json/_intro.md @@ -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.