After understanding jsonp, everyone should also understand that jsonp is mainly used to obtain cross-domain data. Today we will discuss in detail how to apply jsonp to achieve cross-domain implementation in practice
JSONP (JSON with Padding) is a "usage mode" of JSON that can be used to solve the problem of cross-domain data access in mainstream browsers. Due to the same-origin policy, generally speaking, web pages located at server1.example.com cannot communicate with servers other than server1.example.com, with the exception of the HTML