Hello ,
i am using the data API and getting strict-origin-when-cross-origin issue (cors).
I am using to fetch data by java script. I am attaching the file of error.
It seems you might have to enable the cors support in your Java application.
If you are using a spring application, you might want to configure using addCorsMappings to add cors mapping to your application.
If this is already enabled, could you please help me with the server and the spring boot version you are using?
Please do not hesitate to reach out in case of further questions.
@Aasawari I am not using java code here.
here is just JS and HTML file .
I am sharing code here
i am uploading the both code file JS +Html . [quote=“Puneet_singh2, post:1, topic:277977, full:true”]
Hello ,
i am using the data API and getting strict-origin-when-cross-origin issue (cors).
I am using to fetch data by java script. I am attaching the file of error.