# Having issue accessing the Discourse APIs from react app

**URL:** <https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 24, 2023, 5:23pm UTC](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311 "2023-03-24T17:23:05Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [April 9, 2023, 7:03am UTC](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311/7 "2023-04-09T07:03:18Z")

</div>

> [@gassim](#):
>
> I just want to pull a .json response that’s publicly available.

If it’s public then configuring CORS should suffice and you should not need to bother with API keys at all.

---

_[View the full topic](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311)._
