Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:config:cors [2017/10/09 14:10] Lisa Clarke [Method 2: Set from config] |
litespeed_wiki:config:cors [2017/10/09 14:11] Lisa Clarke [Before verification] |
||
---|---|---|---|
Line 32: | Line 32: | ||
- | ===== How to verify ===== | + | ===== How to Verify ===== |
====Before verification==== | ====Before verification==== | ||
- | we can check our response header include ''Access-Control-Allow-Origin *''. \\ {{:litespeed_wiki:config:cors-6.png?600|}} \\ | + | Check that our response header includes ''Access-Control-Allow-Origin *''. \\ {{:litespeed_wiki:config:cors-6.png?600|}} \\ |
==== Start verification==== | ==== Start verification==== | ||
Test CORS is [[https://stackoverflow.com/questions/12173990/how-can-you-debug-a-cors-request-with-curl | not easy]], here we are going to use [[http://www.test-cors.org | Test-cors online tool]] to verify it with simple step.\\ | Test CORS is [[https://stackoverflow.com/questions/12173990/how-can-you-debug-a-cors-request-with-curl | not easy]], here we are going to use [[http://www.test-cors.org | Test-cors online tool]] to verify it with simple step.\\ |