# Enabling CORS for node-red running on ibm cloud

**URL:** https://discourse.nodered.org/t/enabling-cors-for-node-red-running-on-ibm-cloud/29077
**Category:** General
**Created:** [27 June 2020 15:46 UTC](https://discourse.nodered.org/t/enabling-cors-for-node-red-running-on-ibm-cloud/29077 "2020-06-27T15:46:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mst](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mst](https://discourse.nodered.org/u/mst)
#### Post date: [27 June 2020 15:46 UTC](https://discourse.nodered.org/t/enabling-cors-for-node-red-running-on-ibm-cloud/29077/1 "2020-06-27T15:46:54Z")

</div>

Hello , _emphasized text_ have a created node-red flow on IBM cloud lite account.I am using a Visual recognition node in it & displaying its result/ class score in a separate url page- **/trp** in json format using

 ![res. flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a263df2f93bacc610f956ab7cc4106477aff5063.jpeg)  
Now i want to access the content of **/trp** using a separate website(3rd party) & it require CORS activation of node-red.  
Please help me on how to enable CORS for node-red running on IBM cloud. I have got github post on this-[https://github.com/node-red/node-red/commit/6b278fdceb6bf4f945a0b8a5a69c9e74021d2da8#diff-2d78dada12f5fa4f3183bc45f30f590c](https://github.com/node-red/node-red/commit/6b278fdceb6bf4f945a0b8a5a69c9e74021d2da8#diff-2d78dada12f5fa4f3183bc45f30f590c) . Still I want ask whether i only need to follow or something else has to be done ?  
Please guide me.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [27 June 2020 15:51 UTC](https://discourse.nodered.org/t/enabling-cors-for-node-red-running-on-ibm-cloud/29077/2 "2020-06-27T15:51:04Z")

</div>

You will need to edit your bluemix-settings.js file and add the httpNodeCors setting just as the commit you've discovered. That should be all you need to do.

---

<div class="post-metadata">

### Author: ![mst](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@mst](https://discourse.nodered.org/u/mst)
#### Post date: [27 June 2020 15:59 UTC](https://discourse.nodered.org/t/enabling-cors-for-node-red-running-on-ibm-cloud/29077/3 "2020-06-27T15:59:07Z")

</div>

Ok sir , thank u for the help . I will try ur suggestion.
