# Is it possible posting xml api in thunkable?

**URL:** <https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998>\
**Category:** Questions about Thunkable X\
**Created:** [January 19, 2021, 5:20pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998 "2021-01-19T17:20:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [January 19, 2021, 5:20pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/1 "2021-01-19T17:20:46Z")

</div>

hi. i need using api but this one only supports xml.  
so i need write BODY as xml format like using “\<” and “\>”.  
(and the good news is i don’t need to parsing the result. becuz it gives me a file if i succeed)  
but my experience so far, im failing if i just write like \< something \> in text field.  
is there something i miss? or its not possible in thunkable?

looking forward your answer about this issue. thanx

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [January 19, 2021, 5:41pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/2 "2021-01-19T17:41:08Z")

</div>

Either try to find a JSON version of the feed or use an intermediate online service which converts XML to JSON. There ae a couple of good ones you will find if you Google it.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 19, 2021, 5:42pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/3 "2021-01-19T17:42:20Z")

</div>

Try using the join blocks

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [January 19, 2021, 5:47pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/4 "2021-01-19T17:47:50Z")

</div>

Hmmm… How would that help? The source is XML so it would be a nightmare to try to parse it using blocks, if that is what you suggest… Curious to read if you have found an easy way to do it.

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [January 19, 2021, 5:55pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/5 "2021-01-19T17:55:01Z")

</div>

> [@drted](#):
>
> Try using the join blocks

i’m curious too. how so?

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [January 19, 2021, 6:04pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/6 "2021-01-19T18:04:58Z")

</div>

> [@Deluxe](#):
>
> Either try to find a JSON version of the feed

does not exist

> [@Deluxe](#):
>
> use an intermediate online service which converts XML to JSON.

i’m already using one of them for another API but i can’t imagine that can help this situation too.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 19, 2021, 6:09pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/7 "2021-01-19T18:09:59Z")

</div>

Perhaps I misunderstood your post. Is the service CONSUMING or SUPPLYING XML?

> [@saramdl.gaunde021](#):
>
> i need write BODY as xml format like using “\<” and “\>”.

I thought this meant the service was consuming XML as the body parameter. That would look something like:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c6750de0e6c3ff7d763f0c75dfcfb4d49d70cf67.png)

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [January 19, 2021, 6:15pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/8 "2021-01-19T18:15:12Z")

</div>

Now that you mention it, I am confused as well 🤔 Not sure what @saramdl.gaunde021 means after all… Hmmm

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [January 19, 2021, 6:26pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/9 "2021-01-19T18:26:33Z")

</div>

> [@drted](#):
>
> Perhaps I misunderstood your post. Is the service CONSUMING or SUPPLYING XML?
> 
> I thought this meant the service was consuming XML as the body parameter. That would look something like:
> 
> ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/6/c6750de0e6c3ff7d763f0c75dfcfb4d49d70cf67.png)

oh i tried whole code in one block, i changed it as join blocks now.  
and no. it is not consuming at all. i just didnt know whether its woking if i write xml code in thunkable (sorry i dont have much knowledge about web api and xml)

actually i’m trying to get mp3 file using another tts api. but so far, im experiencing failure.

so another question, if result body gives mp3 file. then do i need to just put sound block and response of API? (sorry i have api document but it said in korean)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [January 19, 2021, 6:34pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/10 "2021-01-19T18:34:54Z")

</div>

First, you must determine what is being returned in the response. Use the blocks below to display the error block, the status block, and the response block.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/7490897e6cb7d1c82f592b3a113f015bf065c046.png)

Once you know your request was successful, you can see what blocks you may need to play the sound. For instance, if the call is successful (usually Status 200, or some other 2xx value), then try setting the sound source to the value.

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [January 21, 2021, 3:32pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/11 "2021-01-21T15:32:36Z")

</div>

> [@drted](#):
>
> First, you must determine what is being returned in the response. Use the blocks below to display the error block, the status block, and the response block.
> 
> Once you know your request was successful, you can see what blocks you may need to play the sound. For instance, if the call is successful (usually Status 200, or some other 2xx value), then try setting the sound source to the value.

hi. it gives me 200 but test live app just shuted down.  
only when i put response block to sound source and play sound

perhaps thunkable api can’t take mp3 file for rest api?  
you don’t think so right?

cuz i succeed in bubble, which is another no-code tool

---

<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, 1:30pm UTC](https://community.thunkable.com/t/is-it-possible-posting-xml-api-in-thunkable/1057998/12 "2024-11-08T13:30:37Z")

</div>


