@Upasana Ghosh Thank you for reaching out to Microsoft Q&A. Based on the statement above, you can use cors
policy to set allowed origins, methods, headers etc. and refer doc for more info.
Note, there is attribute terminate-unmatched-request
which controls the processing of cross-origin requests and see the description below:
For non-flight requests such as GET, HEAD You might see empty 200 response based on the default value (true) and hence you would have to set the attribute to false as mentioned in Scenario 7: terminate-unmatched-request in the blog.
I hope this answers your question and feel free to add a comment if you have any other questions. We would be happy to assist you. Please ‘Upvote’ if it helped so that it can help others in the community.