# \[Solved\] Troubling send sms API

**URL:** <https://community.thunkable.com/t/solved-troubling-send-sms-api/671327>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [July 11, 2020, 7:03am UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327 "2020-07-11T07:03:29Z")\
**Posts on this page:** 7\
**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:** [July 11, 2020, 7:03am UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/1 "2020-07-11T07:03:29Z")

</div>

hi. im trying to send sms via Web API in Thunkable  
but it doesn’t work. see this,

here’s API doc by sms api company

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/22cf644723c1882fd4e0362efb7c0db2cbadda2a.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/b/bbd6d74d00e27f54b2bcccadba291b54d04665b1.png)

and what i did is this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5a845136e22950212175675b5a139d192041a0f8.png)

maybe many of you can’t understand fully becuz some word said as Korean.  
is it maybe because of this “–data-urlencode”?  
do you think i have to put something in header?  
like content-type as application/x-www-form-urlencoded or application/json or something  
(i did, but it were same)

if you know the answer plz help.

---

<div class="post-metadata">

**Author:** ![cttricks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cttricks/32/93678_2.png) [@cttricks](https://community.thunkable.com/u/cttricks)\
**Post date:** [July 11, 2020, 9:37am UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/2 "2020-07-11T09:37:41Z")

</div>

You should use QueryParameter and Create Object block to pass the parameter

**Example SS**

 ![Screenshot (49)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/9/5903577d323cbd4ac95596765cdb173329f26fc5.png)

---

<div class="post-metadata">

**Author:** ![label1.visible-true](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@label1.visible-true](https://community.thunkable.com/u/label1.visible-true)\
**Post date:** [July 11, 2020, 6:56pm UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/3 "2020-07-11T18:56:03Z")

</div>

Or if you still need to use JSON, convert it to object.

---

<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:** [July 12, 2020, 7:27am UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/4 "2020-07-12T07:27:39Z")

</div>

thanks! @label1.visible-true @cttricks ! i think i succeed when i change ‘body’ to ‘query parameter’, and convert if using ‘get object from JSON’ block.

but what’s the difference? b/w query parameter & body

---

<div class="post-metadata">

**Author:** ![cttricks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cttricks/32/93678_2.png) [@cttricks](https://community.thunkable.com/u/cttricks)\
**Post date:** [July 16, 2020, 9:10am UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/5 "2020-07-16T09:10:14Z")

</div>

> [@saramdl.gaunde021](#):
>
> what’s the difference? b/w query parameter & body

Usually the content body is used for the data that is to be uploaded/downloaded to/from the server were as the query parameters are used to specify the exact data requested.

For example when you upload a file you specify the name, mime type, etc. in the body but when you fetch list of files you can use the query parameters to filter the list by some property of the files.

**In general, the query parameters are property of the query not the data.**

In your case the api you are using need all those query as parameter instead of data…  
Hope i’m clear 🙂

---

<div class="post-metadata">

**Author:** ![codermertqd6v](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@codermertqd6v](https://community.thunkable.com/u/codermertqd6v)\
**Post date:** [October 2, 2020, 3:02pm UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/6 "2020-10-02T15:02:12Z")

</div>

hey buddy mert ı send me message :d

---

<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:23pm UTC](https://community.thunkable.com/t/solved-troubling-send-sms-api/671327/7 "2024-11-08T12:23:38Z")

</div>


