Posted By: Anonymous
I’m new to Polymer. It looks great. I started using
iron-ajax component to load some json from file (mocking rest service). The load function is triggered by a Polymer
ready event. Everything goes the way it should go but
detail.response object is
null. I got no error, by Chrome’s network consolle I can see a status
GET request and expected json data as response. Here is my sandbox.
I’m wondering if you have fired the ajax request off too early. What happens if you fire it off in an attached callback? The other possibility is the response isn’t properly formatted json. In Chrome dev tools can you see it parsed into an object in the preview tab under network. with the particular message selected?