# How can write data firebase use web Api

**URL:** <https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574>\
**Category:** Questions about Thunkable X\
**Created:** [July 6, 2018, 4:26pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574 "2018-07-06T16:26:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_Nguy\_n\_T\_n](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/m_nguy_n_t_n/32/20989_2.png) [@M\_Nguy\_n\_T\_n](https://community.thunkable.com/u/M_Nguy_n_T_n)\
**Post date:** [July 6, 2018, 4:26pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/1 "2018-07-06T16:26:44Z")

</div>

I see on link [https://firebase.google.com/docs/reference/rest/database/](https://firebase.google.com/docs/reference/rest/database/)  
have methob write data is  
curl -X PUT -d ‘{ “first”: “Jack”, “last”: “Sparrow” }’   
‘https://[PROJECT\_ID].firebaseio.com/users/jack/name.json’  
How can use on web Api in Thunkable x

Thanks

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [July 6, 2018, 5:32pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/2 "2018-07-06T17:32:24Z")

</div>

To work with the Web API in thunkable X, the WEB API component is used. Have you tried to get data through it?

First, try to get the data from the link https://[PROJECT\_ID].firebaseio.com/users/jack/name.json

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [July 8, 2018, 5:06pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/3 "2018-07-08T17:06:55Z")

</div>

I would suggest using the Realtime DB component if you want to read or write to a Firebase DB. It’s easier than using the web api. See [https://docs.thunkable.com/thunkable-cross-platform/create/components/data/realtime-db](https://docs.thunkable.com/thunkable-cross-platform/create/components/data/realtime-db) for more info.

-Mark

---

<div class="post-metadata">

**Author:** ![M\_Nguy\_n\_T\_n](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/m_nguy_n_t_n/32/20989_2.png) [@M\_Nguy\_n\_T\_n](https://community.thunkable.com/u/M_Nguy_n_T_n)\
**Post date:** [July 8, 2018, 5:19pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/4 "2018-07-08T17:19:44Z")

</div>

Thanks Mark

---

<div class="post-metadata">

**Author:** ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)\
**Post date:** [July 3, 2019, 2:52pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/5 "2019-07-03T14:52:53Z")

</div>

(mark it as solution to your problem if it helped)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/how-can-write-data-firebase-use-web-api/34574/6 "2024-11-08T12:02:10Z")

</div>


