Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

How to pass the payload data from request to post process script?

$
0
0

@ramnew2006 wrote:

Hi all, I am building a use case on user registration. The idea is to store the user data like phone number, city and other details on a third party database like Amazon RDS and the basic authentication is on Dreamfactory. So what I am thinking is to have a post process script on user/register which will check the event.response status code with 200 and using the platform.api.post it should pass the user payload to amazon RDS. I cannot have this logic on pre process because I want to validate the POST event and pass the data afterwards.

The problem I am facing is the payload is available till the pre process script on event.request but once the Post happens and during the post process, event.request is not available. Can someone explain whether there is any way in which we can extract the payload from the request?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles