# Bug with Web\_Api component

**URL:** <https://community.thunkable.com/t/bug-with-web-api-component/2289662>\
**Category:** Questions about Thunkable X\
**Created:** [February 21, 2023, 7:58pm UTC](https://community.thunkable.com/t/bug-with-web-api-component/2289662 "2023-02-21T19:58:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biagio.prisco](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@biagio.prisco](https://community.thunkable.com/u/biagio.prisco)\
**Post date:** [February 21, 2023, 7:58pm UTC](https://community.thunkable.com/t/bug-with-web-api-component/2289662/1 "2023-02-21T19:58:18Z")

</div>

Hi all, I noticed a bug with the Web\_Api component.  
To connect to a MySql database I launch php scripts that I have on my web space.  
And it works fine.  
But if I pass parameters with POST method these do not arrive in the script.

 ![f01](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/c/2c9794fd6676014d71a3e31d0fb4852adbfab5e8.png)

The following script gives me empty result…

\<?php echo = $\_POST['type'] . " " . $\_POST['p'] ; exit; ?\>

If I use the GET method in the script instead, it works even though I used the Post method in the call.

\<?php echo = $\_GET['type'] . " " . $\_GET['p'] ; exit; ?\>

How to solve the problem?  
Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 22, 2023, 7:58pm UTC](https://community.thunkable.com/t/bug-with-web-api-component/2289662/2 "2023-05-22T19:58:23Z")

</div>

Closed on May 22, 2023, 7:58pm UTC

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