# httpTask For JSON

**URL:** <https://forum.flowable.org/t/httptask-for-json/5784>\
**Category:** Flowable Application\
**Created:** [April 7, 2020, 1:14pm UTC](https://forum.flowable.org/t/httptask-for-json/5784 "2020-04-07T13:14:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsriramb123](https://avatars.discourse-cdn.com/v4/letter/v/c77e96/32.png) [@vsriramb123](https://forum.flowable.org/u/vsriramb123)\
**Post date:** [April 7, 2020, 1:14pm UTC](https://forum.flowable.org/t/httptask-for-json/5784/1 "2020-04-07T13:14:19Z")

</div>

I have a rest API “[http://jsonplaceholder.typicode.com/posts/1](http://jsonplaceholder.typicode.com/posts/1)”  
using httpTask, We can consume this link and get taskid.Responsebody in a tring format.  
I want the response in JSON format, so that in followed usertask form i can refer to response data as Res.UserID.  
In myTask there is a property .

 ![httpTaskJSON](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/f/f58b3b1ddd133485c639faf5976ba5c9305aac67.png)  
I have published anr ran the work, but process did not work as expected. it says some eror happened.  
Please help me in this.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [April 13, 2020, 11:02am UTC](https://forum.flowable.org/t/httptask-for-json/5784/2 "2020-04-13T11:02:11Z")

</div>

The ‘Save response as JSON’ is a boolean flag. You either need to check it or the expressions (which is what you’re doing) needs to resolve to a boolean value.

Also: this looks like you’re running Flowable Design. Please use the enterprise forum for questions related to the commercial product: [https://forum.flowable.com](https://forum.flowable.com).
