Closed TerrenceChao closed 4 years ago
Welcome to the Firecamp! Thanks and congrats for opening your very first issue in Firecamp. Join the Discord community here https://discord.gg/8hRaqhK Hope you have a great time here :)
Release under 1.4.0 You can now test CORS issue with given config as shown in below image
Thanks for your contribution @TerrenceChao , please feel free to reopen it in case of any issue you'll face in 1.4.0
When you constraint the "Access-Control-Allow-Origin"(CORS Header) with the specific domain at your server-side, it will NOT allow requests to come from other places. So there's a situation we all have been through:
Our APIs work well, but the front-end team often tell us the APIs were broken due to the following response: "Access to XMLHttpRequest at 'application-endpoint-url' from origin 'request-url' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
The testing tool we are (backend team) using CANNOT detect such this problem, hope the Firecamp can consider the situation, make the Firecamp be able to detect the CORS problem.