Uroš Gavrilović Thanks for posting your question in Microsoft Q&A. CORS
is a security feature implemented by web browsers that restricts web pages from making requests to a different domain than the one that served the web page. This is done to prevent malicious websites from accessing sensitive data from other websites. When you try to make a request from your React app to your Spring Boot app, the browser blocks the request because it is coming from a different domain.
It looks like you haven't configured CORS in your Azure Spring Apps? Check out Configure cross-origin resource sharing doc and configure CORS for origin such as https://delightful-stone-0033d2303.3.azurestaticapps.net/ and needed methods and headers to be allowed in Spring Apps.
Similarly, you can also configure CORS for Static Web apps so that it can be accessed from different domains (if needed) and refer https://learn.microsoft.com/en-gb/azure/static-web-apps/configuration#global-headers doc for more info.
I hope this helps and if you have any questions, let me know. Note: This answer is partially generated based on AI tools.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.