# API response body - How to use that in Thunkable?

**URL:** <https://community.thunkable.com/t/api-response-body-how-to-use-that-in-thunkable/1936331>\
**Category:** Web API's\
**Tags:** beginner\
**Created:** [June 22, 2022, 6:53pm UTC](https://community.thunkable.com/t/api-response-body-how-to-use-that-in-thunkable/1936331 "2022-06-22T18:53:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [June 27, 2022, 9:19am UTC](https://community.thunkable.com/t/api-response-body-how-to-use-that-in-thunkable/1936331/5 "2022-06-27T09:19:07Z")

</div>

have you tried using get\_object\_from\_json block on the green response first before playing it?

if that still fails, have you tried using a CORS proxy? search our forums for “CORS proxy” and locate allorigins. or you can go to this directly:

> [@\[Solved\] Project won't GET data from API in Web Preview \[CORS issue\]](https://community.thunkable.com/t/project-wont-get-data-from-api-in-web-preview-cors-issue/1888743/5):
>
> i found a way to get around “cannot GET” errors in webapi (due to CORS - cross origin issue). the answer is [allOrigins](https://allorigins.win/) whose catch phrase is " Pull contents from any page via API (as JSON/P or raw) and avoid Same-origin policy problems." the original problem started because of this behavior: the link below works in a browser and also works in Postman but does NOT work in Thunkable (due to CORS issues apparently) http://numbersapi.com/2000/year?json this is the result from a browser:

---

_[View the full topic](https://community.thunkable.com/t/api-response-body-how-to-use-that-in-thunkable/1936331)._
