Is it possible to make a Meteor.http.get(“localhost:4000/api/resource.json”) and use the returned response as Meteor.collection?
Is it possible to make a Meteor.http.get(localhost:4000/api/resource.json) and use the returned response as Meteor.collection?
Share
Sure. Let’s say the JSON looks like:
To insert that into a collection you would do: