# Failing in fetching data from web api

**URL:** <https://community.thunkable.com/t/failing-in-fetching-data-from-web-api/2296873>\
**Category:** Web API's\
**Tags:** help\
**Created:** [February 26, 2023, 6:47am UTC](https://community.thunkable.com/t/failing-in-fetching-data-from-web-api/2296873 "2023-02-26T06:47:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lynnetta00644x](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lynnetta00644x](https://community.thunkable.com/u/lynnetta00644x)\
**Post date:** [February 26, 2023, 7:45am UTC](https://community.thunkable.com/t/failing-in-fetching-data-from-web-api/2296873/3 "2023-02-26T07:45:00Z")

</div>

I am using exactly [this](https://community.thunkable.com/t/solved-how-to-use-date-functions-in-thunkable-x/71693/3) tutorial and an answer from **bymaho**.  
The exact url is this:

`https://www.convertunits.com/dates/from/`

These are the dates from date pickers in thunkable Feb+23,+2023/to/Feb+25,+2023 that I pass to url but thunkable doesn’t give months in “jan” or “feb” format that’s why I am using this logic. And from [here](https://www.convertunits.com/dates/from/Feb+23,+2023/to/Feb+25,+2023) I want to pick only the difference of two dates. please have a look at this screenshot to understand it fully.

 ![Screenshot 2023-02-26 at 12.40.25 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/1/919bedcfdd4de50bed0619dd4efd419dac756afe.png)

---

_[View the full topic](https://community.thunkable.com/t/failing-in-fetching-data-from-web-api/2296873)._
