Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

Return full object in response via post.post_process script (DF 1.9)

$
0
0

by default a successful post to the database only returns the ID of the newly created record.
I'd recommend using platform.api in a post process script to perform a GET on your database service filtering by id (or doing get by id) with the url parameter related=* to get all the related data in the call as well.
Then return that to the client rather than the typical event.response.


Viewing all articles
Browse latest Browse all 5027

Trending Articles