当前位置:网站首页>Distributed solution - completely solve website cross domain requests
Distributed solution - completely solve website cross domain requests
2022-07-05 12:32:00 【vx-Yang_ Gaige】
Website cross domain solution
What is website cross domain
Cross domain causes : In the current domain name request website , It is not allowed to pass by default ajax Request to send another domain name .
Website cross domain error reporting cases
jquery-1.7.2.min.js?t=2017-07-27:4
Failed to load http://b.itmayiedu.com:8081/ajaxB:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://a.itmayiedu.com:8080' is therefore not allowed access.
Five website cross domain solutions
- Use jsonp Solve the problem of cross domain
2. Use HttpClient Internal forwarding
3. Use the set response header to allow cross domain
4. be based on Nginx Build enterprise level API Interface gateway
5. Use Zuul Build microservices API Interface gateway
Build a cross domain project environment
Use JSONP Explain
边栏推荐
- Is investment and finance suitable for girls? What financial products can girls buy?
- Handwriting blocking queue: condition + lock
- Take you two minutes to quickly master the route and navigation of flutter
- Experimental design - using stack to realize calculator
- Halcon template matching actual code (I)
- Seven ways to achieve vertical centering
- Solution to order timeout unpaid
- Embedded software architecture design - message interaction
- ABAP table lookup program
- [hdu 2096] Xiaoming a+b
猜你喜欢
Making and using the cutting tool of TTF font library
Understand kotlin from the perspective of an architect
Master-slave mode of redis cluster
July Huaqing learning-1
Average lookup length when hash table lookup fails
Matlab imoverlay function (burn binary mask into two-dimensional image)
NPM install reports an error
Pytorch two-layer loop to realize the segmentation of large pictures
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
How can beginners learn flutter efficiently?
随机推荐
Pytoch implements tf Functions of the gather() function
GPS數據格式轉換[通俗易懂]
Detailed steps for upgrading window mysql5.5 to 5.7.36
Deep discussion on the decoding of sent protocol
Leetcode-1. Sum of two numbers (Application of hash table)
Redis highly available sentinel cluster
嵌入式软件架构设计-消息交互
POJ-2499 Binary Tree
Array cyclic shift problem
Time tools
ZABBIX 5.0 - LNMP environment compilation and installation
16 channel water lamp experiment based on Proteus (assembly language)
MySQL storage engine
Acid transaction theory
Is investment and finance suitable for girls? What financial products can girls buy?
ZABBIX agent2 monitors mongodb templates and configuration operations
Learn garbage collection 01 of JVM -- garbage collection for the first time and life and death judgment
Learn the memory management of JVM 03 - Method area and meta space of JVM
Pytorch two-layer loop to realize the segmentation of large pictures
Learn memory management of JVM 01 - first memory