---
title: "Comment by Michael J. Ryan on \"understanding cross-origin and CORS\" | Hashnode"
description: "I would suggest replacing the XHR raw requests with fetch api, to simplify the examples, which I think distract from the topic at hand."
url: "https://hashnode.com/posts/understanding-cross-origin-and-cors/60d1b33af668475d88fed37b/comment/60d21e064e084d6e649c4633"
---

[Discussion](https://hashnode.com/posts/understanding-cross-origin-and-cors/60d1b33af668475d88fed37b)

Comment [understanding cross-origin and CORS](https://hashnode.com/posts/understanding-cross-origin-and-cors/60d1b33af668475d88fed37b)

[Michael J. Ryan](https://hashnode.com/@tracker1)

[Jun 22, 2021](https://hashnode.com/posts/understanding-cross-origin-and-cors/60d1b33af668475d88fed37b/comment/60d21e064e084d6e649c4633)

I would suggest replacing the XHR raw requests with fetch api, to simplify the examples, which I think distract from the topic at hand.

[fengxh](https://hashnode.com/@fengxh)

[Jun 23, 2021](https://hashnode.com/posts/understanding-cross-origin-and-cors/60d1b33af668475d88fed37b/comment/60d21e064e084d6e649c4633#reply-60d29633d81d4d6e9919b58e)

Thanks for your suggestion
