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

Need help with user.register.post.post_process script

$
0
0

Great!!
Now you can pass parameters through the rest call.
Like this:

platform.api.post('email', {
"username": "The name",
"city":"Df Island",
"information":"more information",
"template": "My Template Name",
  "to": [
    {
      "name": "The Name",
      "email": "super@mail.com"
    }
  ]
});

and in the template email you use those variables like:

Hello {username} from {city},
here's your informations: {information}

Viewing all articles
Browse latest Browse all 5027

Trending Articles