# Code behind Azure Save Blob Storage Node

**URL:** https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984
**Category:** General
**Created:** [6 July 2019 20:27 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984 "2019-07-06T20:27:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![xoani](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xoani/32/7844_2.png) [@xoani](https://discourse.nodered.org/u/xoani)
#### Post date: [6 July 2019 20:27 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/1 "2019-07-06T20:27:05Z")

</div>

Hello. This might be a dumb question but I need to know how the communication works between Node-RED and the Azure Cloud, specifically Blob Storage -\> using the following Node:

> **[Azure/node-red-contrib-azure](https://github.com/Azure/node-red-contrib-azure/tree/master/blob-storage)**
>
> Node-RED nodes to talk to Azure solutions and services - Azure/node-red-contrib-azure

Does anyone know how/where can I get this information?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [6 July 2019 20:49 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/2 "2019-07-06T20:49:53Z")

</div>

Given that you posted a link to github you could either look at the source code or if you have a specific question you could open an issue where the nodes owner would see it.

---

<div class="post-metadata">

### Author: ![xoani](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xoani/32/7844_2.png) [@xoani](https://discourse.nodered.org/u/xoani)
#### Post date: [8 July 2019 18:23 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/3 "2019-07-08T18:23:00Z")

</div>

Hello. I have looked at this code: [https://github.com/Azure/node-red-contrib-azure/blob/master/blob-storage/azureblobstorage.js](https://github.com/Azure/node-red-contrib-azure/blob/master/blob-storage/azureblobstorage.js) but I don't really know how this kind of stuff looks like. Does anything in this code say if it happens via HTTP or MQTT or anything like that?

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [9 July 2019 06:20 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/4 "2019-07-09T06:20:54Z")

</div>

Take a look at the included library in the parent `node-modules` folder, that one does the heavy lifting. The NR node code just wraps around it. But to answer your question, follow the imports and function/variable calls and it looks like HTTP based, with responses in XML. Endpoints/url structure is located in `lib/common/util/constants.js`. Just followed the imports and calls to find it.

---

<div class="post-metadata">

### Author: ![xoani](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xoani/32/7844_2.png) [@xoani](https://discourse.nodered.org/u/xoani)
#### Post date: [9 July 2019 12:30 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/5 "2019-07-09T12:30:09Z")

</div>

Hi @afelix, thaks for your help. The main information I have to find is how the communication works, so if it is HTTP that is my answer 🙂 Thanks! I can't find the "proof" though. I have searched for `lib` in `node-modules` to follow the path `lib/common/util/constants.js` and I can't do it. Maybe I am missing something(?) Like I said, I am new to this so maybe I don't understand what you mean. Any help is highly appreciated!

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [9 July 2019 12:51 UTC](https://discourse.nodered.org/t/code-behind-azure-save-blob-storage-node/12984/6 "2019-07-09T12:51:01Z")

</div>

> <https://github.com/Azure/node-red-contrib-azure/blob/master/blob-storage/node_modules/azure-storage/lib/common/util/constants.js>

Here you go, will still take some searching to puzzle the rest together, but you might be better suited with looking at how their API is supposed to work from the MSDN docs, which I have to admit have always troubled me to navigate around and from my phone I won’t even try. That having said, a search engine will be your friend, and the added keyword “msdn” should bring you to Microsoft’s own set of documentation (or a stackoverflow answer linking there 😛)
