# Budibase API integration with node-red

**URL:** <https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584>\
**Category:** General\
**Tags:** http-request\
**Created:** [13 May 2022 08:41 UTC](https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584 "2022-05-13T08:41:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MadZhaan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/madzhaan/32/61528_2.png) [@MadZhaan](https://discourse.nodered.org/u/MadZhaan)\
**Post date:** [13 May 2022 08:41 UTC](https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584/1 "2022-05-13T08:41:33Z")

</div>

Hi all!

I'm currently self-hosting both Budibase and Node-red locally. I just wanna ask if it is possible to use Budibase API as a data source for Node-red? If it is possible, how do I do it? I've tried using the https request node but it doesn't return the result that I wanted. Instead of returning a row, it returns this "Redirecting to /." It keeps on redirecting for some reason. Appreciate the help!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [13 May 2022 08:50 UTC](https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584/2 "2022-05-13T08:50:30Z")

</div>

Are you setting the right headers etc?

Docs for Budibase API are here: [Public API](https://docs.budibase.com/docs/public-api)

---

<div class="post-metadata">

**Author:** ![MadZhaan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/madzhaan/32/61528_2.png) [@MadZhaan](https://discourse.nodered.org/u/MadZhaan)\
**Post date:** [17 May 2022 08:47 UTC](https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584/3 "2022-05-17T08:47:43Z")

</div>

Yeah, I've already set the headers correctly, I suppose.

```auto
msg.headers = {};
msg.headers['Accept'] = 'application/json';
msg.headers['Content-Type'] = 'application/json';
msg.headers['x-budibase-api-key'] = 'xxx';
msg.headers['x-budibase-app-id'] = 'xxx';
return msg;

```

Me and my colleagues are still figuring out why it returned that.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 July 2022 08:48 UTC](https://discourse.nodered.org/t/budibase-api-integration-with-node-red/62584/4 "2022-07-16T08:48:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
