iron-ajax

Polymer Iron-Ajax Get Method retrieving result from an expressJS route returning res.json

三世轮回 提交于 2019-12-25 09:26:54
问题 My api end point which running on Heroku free account(expressJS) url IS HERE It shows json response from an expressJS route. The data looks like this [{"_id":"5938b81bd263a5144c9d7d17","title":"mlab first entry","__v":0}, {"_id":"5939efc7fac2b71aac4add11","title":"Second Entry","__v":0}, {"_id":"5939efd0fac2b71aac4add12","title":"Second Entry","__v":0}] My polymer code which I run from localhost(http://127.0.0.1:8081/view1):` <!-- @license Copyright (c) 2016 The Polymer Project Authors. All