I'm going to build Talon's answer, which is correct.
e.detail will be a JSON object, assuming that the response sent from the server is in JSON form. So, if you use Node.JS and Express, you might get this code:
document.getElementById('my-form').addEventListener('iron-form-response', function (e) { console.log('Form :', e.detail); });
And your server code might look like this:
res.status(200).json({'foo': 'bar'});
Then e.detail will be the object {"foo": "bar"}
Sessamekesh
source share