# IP address for partner URL

**URL:** <https://community.tulip.co/t/ip-address-for-partner-url/5448>\
**Category:** General\
**Created:** [June 3, 2022, 12:18pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448 "2022-06-03T12:18:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![markwkiehl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/markwkiehl/32/3791_2.png) [@markwkiehl](https://community.tulip.co/u/markwkiehl)\
**Post date:** [June 3, 2022, 12:18pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/1 "2022-06-03T12:18:51Z")

</div>

I want to post new records to a Tulip table from a ESP8266 microcontroller. The firmware only supports sending to a IP address, not a URL. How can I get the IP Address for [https://partner-mycompanyname.tulip.co](https://partner-mycompanyname.tulip.co)

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [June 3, 2022, 1:32pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/2 "2022-06-03T13:32:52Z")

</div>

Hey @markwkiehl,

Found [this](https://techtutorialsx.com/2016/07/21/esp8266-post-requests/) guide talking about how to make a post call from an ESP8266. Your esp will be making a POST call to the Tulip Tables API with the data you want added to your table. [Here is some more information](https://support.tulip.co/en/articles/3983173-how-to-use-the-table-api) about the tables API. I also have [this](https://gist.github.com/petehartnett/eaed9308af2d5edd05d157137164343c) github gist that shows how to hit the tables api in Python (feel free to steal the headers and whatnot I use when making the call). I think there is an avenue to run python natively on ESP devices, but I haven’t ever explored this myself.

I haven’t done this personally, but @freedman has done something similar with an ESP32 (the 8266’s bigger brother), he might have more context to provide.

Hope this helps,  
Pete

---

<div class="post-metadata">

**Author:** ![freedman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/freedman/32/107_2.png) [@freedman](https://community.tulip.co/u/freedman)\
**Post date:** [June 3, 2022, 2:04pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/3 "2022-06-03T14:04:45Z")

</div>

@markwkiehl which firmware are you using? This article seems to show that it is possible:

> **[ESP8266 NodeMCU HTTP GET and HTTP POST with Arduino IDE | Random Nerd Tutorials](https://randomnerdtutorials.com/esp8266-nodemcu-http-get-post-arduino/)**
>
> Learn how to make HTTP GET and HTTP POST Requests with the ESP8266 NodeMCU with Arduino IDE. How to get values, post JSON data objects, URL encoded requests, etc.

You could also install micropython onto your ESP8266 and do it with that (that’s what I’ve done in the past)

---

<div class="post-metadata">

**Author:** ![markwkiehl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/markwkiehl/32/3791_2.png) [@markwkiehl](https://community.tulip.co/u/markwkiehl)\
**Post date:** [June 4, 2022, 1:35am UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/4 "2022-06-04T01:35:12Z")

</div>

I truly appreciate the attempt to help me. I spent a day and half researching this, and just an hour ago, I was finally successful. I am now able to securely HTTP post a new record to a Tulip table using my Feather HUZZA ESP8266 microcontroller. I posted a complete example on how to do this on my website at [Savvy Microcontroller Solutions - Microcontroller Arduino Spark.IO sensors electronics C++](https://savvymicrocontrollersolutions.info/feather.php?topic=adafruit-feather-huzzah-esp8266) . The code example titled ’ Client HTTP POST with Basic Authentication & Bear SSL’ is the one that works for Tulip. The example is based on pushing data to POSTMAN Echo, but the concept is the same. The URL and other minor details need to be adapted to Tulip. I hope this helps someone else.

---

<div class="post-metadata">

**Author:** ![markwkiehl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/markwkiehl/32/3791_2.png) [@markwkiehl](https://community.tulip.co/u/markwkiehl)\
**Post date:** [June 4, 2022, 1:36am UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/5 "2022-06-04T01:36:45Z")

</div>

Hi Pete,

I truly appreciate the attempt to help me. I spent a day and half researching this, and just an hour ago, I was finally successful. I am now able to securely HTTP post a new record to a Tulip table using my Feather HUZZA ESP8266 microcontroller. I posted a complete example on how to do this on my website at Savvy Microcontroller Solutions - Microcontroller Arduino [Spark.IO](http://Spark.IO) sensors electronics C++ . The code example titled ’ Client HTTP POST with Basic Authentication & Bear SSL’ is the one that works for Tulip. The example is based on pushing data to POSTMAN Echo, but the concept is the same. The URL and other minor details need to be adapted to Tulip. I hope this helps someone else.

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [June 6, 2022, 12:38pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/6 "2022-06-06T12:38:20Z")

</div>

Hey @markwkiehl-

This is super cool. Just read through your guide and it is incredibly comprehensive. I just documented a need for additional documentation around this sort of integration. Thanks for doing so much legwork to discover an approach to doing this.

Impressed every day by what the Tulip world is able to come up with-  
Pete

---

<div class="post-metadata">

**Author:** ![RussWaddell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/russwaddell/32/3774_2.png) [@RussWaddell](https://community.tulip.co/u/RussWaddell)\
**Post date:** [June 6, 2022, 9:04pm UTC](https://community.tulip.co/t/ip-address-for-partner-url/5448/7 "2022-06-06T21:04:17Z")

</div>

moved to #show-and-tell because @markwkiehl made it work 😀
