Tag

JSONP

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2025 · Frontend Development

How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More

This article explains why browsers enforce the Same‑Origin Policy, illustrates common CORS errors, and provides practical solutions—including CORS headers, JSONP, Nginx reverse proxy, API gateways, WebSocket, and postMessage—along with code examples and best‑practice tips for both development and production environments.

CORSCross-OriginJSONP
0 likes · 9 min read
How to Solve Cross-Origin Issues: CORS, JSONP, Nginx Proxy & More
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 26, 2024 · Frontend Development

Cross-Origin and Same-Origin Strategies: JSONP, CORS, Proxy, Nginx, WebSocket, postMessage, and document.domain

This article explains the concepts of cross‑origin and same‑origin policies, and demonstrates multiple solutions—including JSONP, CORS headers, proxy servers, Nginx configuration, WebSocket communication, postMessage, and document.domain—providing both front‑end and back‑end code examples for each method.

CORSCross-OriginJSONP
0 likes · 13 min read
Cross-Origin and Same-Origin Strategies: JSONP, CORS, Proxy, Nginx, WebSocket, postMessage, and document.domain
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 29, 2024 · Backend Development

Master JSONP in Spring Boot: From Basics to Custom ResponseBodyAdvice

This article explains the JSONP technique, demonstrates how to implement it in Spring Boot with a simple REST endpoint, custom JSONP wrapper, ResponseBodyAdvice, and a customized HttpMessageConverter, and shows how to test the solution using HTML script tags.

Cross-OriginHttpMessageConverterJSONP
0 likes · 9 min read
Master JSONP in Spring Boot: From Basics to Custom ResponseBodyAdvice
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 8, 2023 · Frontend Development

Understanding Cross-Origin Requests and Frontend Solutions for CORS

This article explains the concept of cross‑origin requests, the same‑origin policy that restricts them, and presents three practical frontend solutions—JSONP, a server‑side proxy using Nest.js, and Webpack dev‑server proxy configuration—along with code examples and security considerations.

CORSJSONPSame-Origin Policy
0 likes · 8 min read
Understanding Cross-Origin Requests and Frontend Solutions for CORS
php中文网 Courses
php中文网 Courses
Aug 25, 2023 · Backend Development

Implementing Cross-Domain Communication with PHP: JSONP Example

This article explains cross-domain communication concepts, compares methods like JSONP, CORS, iframe postMessage, and provides a complete PHP implementation of JSONP with client-side script examples, enabling data exchange across different domains in web development.

CORSCross-DomainJSONP
0 likes · 6 min read
Implementing Cross-Domain Communication with PHP: JSONP Example
php中文网 Courses
php中文网 Courses
Aug 25, 2023 · Frontend Development

Cross-Domain Communication in Web Development Using PHP (JSONP Example)

This article explains cross‑domain communication in web development, outlines common methods such as JSONP, CORS, iframe + postMessage and proxy, and provides a PHP example of JSONP implementation with client‑side script to demonstrate data transfer across different domains.

JSONPPHPfrontend
0 likes · 4 min read
Cross-Domain Communication in Web Development Using PHP (JSONP Example)
37 Interactive Technology Team
37 Interactive Technology Team
Oct 10, 2022 · Frontend Development

AOP Techniques for Ajax and Jsonp in Front-End Development

The article explains how to use Aspect‑Oriented Programming to globally intercept and rewrite Ajax and JSONP requests—both native and framework based—by extending Function.prototype, overriding DOM methods, and employing ajax‑hook and Axios interceptors, culminating in a runnable demo that redirects traffic from a‑domain to b‑domain.

AJAXAOPAxios
0 likes · 19 min read
AOP Techniques for Ajax and Jsonp in Front-End Development
JD Retail Technology
JD Retail Technology
Mar 21, 2022 · Frontend Development

Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development

This article explains the fundamentals of cross‑origin restrictions, cookies, and same‑origin policy for frontend developers, demonstrates common CORS errors with sample code, and presents practical solutions—including iframe/postMessage, JSONP, WebSocket, and CORS configurations on servers such as Node.js and Nginx—to enable secure and reliable cross‑domain communication.

CORSCross-OriginJSONP
0 likes · 21 min read
Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development
Tencent Cloud Developer
Tencent Cloud Developer
Oct 9, 2021 · Frontend Development

Cross-Origin Issues and Solutions in Web Development

The article explains cross‑origin restrictions in web development, distinguishes broad and narrow cross‑origin, outlines common scenarios, and compares solutions such as JSONP, CORS, Flash, server proxies, and front‑end techniques like document.domain, hash, window.name, and postMessage, highlighting each method’s pros and cons.

AJAXCORSCross-Origin
0 likes · 20 min read
Cross-Origin Issues and Solutions in Web Development
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 30, 2020 · Backend Development

Handling JSONP Cross‑Origin Requests in Spring Boot: Common Pitfalls and Solutions

This article walks through a real‑world Spring Boot backend issue where a UEditor plugin required JSONP cross‑origin handling, detailing the initial CORS problem, version‑specific limitations, code adjustments using JSONPObject, and path‑reading fixes for jar‑deployed applications.

BackendCORSJSONP
0 likes · 6 min read
Handling JSONP Cross‑Origin Requests in Spring Boot: Common Pitfalls and Solutions
Java Captain
Java Captain
Feb 9, 2020 · Frontend Development

QR Code Login Implementation: Technical Principles and Case Studies of Taobao and WeChat

This article explains the technical principles behind QR code login, detailing the client‑server interaction, UUID generation, Redis storage, long‑polling, and token handling, and illustrates the implementation with real‑world examples from Taobao and WeChat, including code snippets and flow diagrams.

JSONPJavaScriptQR code login
0 likes · 13 min read
QR Code Login Implementation: Technical Principles and Case Studies of Taobao and WeChat
Qunar Tech Salon
Qunar Tech Salon
Sep 28, 2018 · Backend Development

Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications

This article explains the principles of cross-origin restrictions, analyzes various client‑side and server‑side solutions such as disabling browser security, using script tags, JSONP, and especially CORS with Spring Boot filters, annotations, and proxy configurations, providing complete code examples and practical deployment tips.

AJAXCORSCross-Origin
0 likes · 15 min read
Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications
Qunar Tech Salon
Qunar Tech Salon
Jun 7, 2017 · Frontend Development

Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples

This article demonstrates several cross‑origin communication methods—including JSONP, window.name, document.domain, CORS, postMessage, and WebSocket—by providing step‑by‑step code examples, host file configuration, and instructions for testing each technique in a local environment development.

CORSCross-OriginJSONP
0 likes · 12 min read
Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples
Architect
Architect
Aug 31, 2015 · Frontend Development

Comprehensive JavaScript Cross‑Domain Guide with Demo

This article offers a thorough, demo‑driven tutorial on JavaScript cross‑origin techniques—including JSONP, document.domain, window.name, and HTML5 postMessage—explaining their principles, usage conditions, and code examples for practical implementation.

Cross-OriginJSONPJavaScript
0 likes · 9 min read
Comprehensive JavaScript Cross‑Domain Guide with Demo