Using server-side scripting can anybody please tell the me method I would use to interrogate any values inside ‘event.request.body’.
I’m trying to perform some logic at the step ‘user.register.post.pre_process’ the usual object notation doesn’t seem to work and it’s driving me nuts! A simple example would be:
if (event.request.body.email == 'my@email.com') {
throw 'we have a match';
}
I’ve tried various different formats to no avail.
Many thanks