# Platform.api.post("user/session",{}) is broken after updating from DF 2.0.1 -\> DF 2.0.4

**URL:** <https://community.dreamfactory.com/t/platform-api-post-user-session-is-broken-after-updating-from-df-2-0-1-df-2-0-4/2083>\
**Category:** Server-Side Scripting\
**Created:** [January 24, 2016, 7:52pm UTC](https://community.dreamfactory.com/t/platform-api-post-user-session-is-broken-after-updating-from-df-2-0-1-df-2-0-4/2083 "2016-01-24T19:52:55Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![andersonmuller](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@andersonmuller](https://community.dreamfactory.com/u/andersonmuller)\
**Post date:** [February 8, 2016, 12:16pm UTC](https://community.dreamfactory.com/t/platform-api-post-user-session-is-broken-after-updating-from-df-2-0-1-df-2-0-4/2083/12 "2016-02-08T12:16:03Z")

</div>

Hi @bitperbit,

If you are using the **RETURN** statement, it will not return custom data in v2.1.

Instead of this:

> return {“test”:“ok”};

You should use this:

> event.response.content = {“test”:“ok”};

---

_[View the full topic](https://community.dreamfactory.com/t/platform-api-post-user-session-is-broken-after-updating-from-df-2-0-1-df-2-0-4/2083)._
