Closed grvcoelho closed 9 years ago
Refer to https://www.polymer-project.org/0.5/docs/elements/core-ajax.html
With auto set to true, the element performs a request whenever its url, params or body properties are changed.
It's the first solution. Or you can try
newContactChanged: function() {
this.$.ajax.go()
}
I've tried that too @wizawu, but it didn't work to me.
But I used the params
attribute instead of the body
attribute, and it worked. :smile:
Hello there folks, I have the following situation:
Inside an element, I have this core-ajax element:
And I have an express server setup just to return the body of the POST message:
However, the answer from the server I get is:
Object {object Object: ""}