if (Meteor.isServer) { Meteor.startup(function () { var url = 'http://rss.nytimes.com/c/34625/f/640316/s/395c8915/sc/1/l/0L0Snytimes0N0C20A140C0A40C150Cbusiness0C20Eexecutives0Eare0Eout0Eat0Egm0Eafter0Erecall0Bhtml0Dpartner0Frss0Gemc0Frss/story01.htm'; var result = HTTP.call("GET", url, { followRedirects: true }); console.log(result); }); }
You can use the npm request or http module directly. It is not the goal of the Meteor http package to painstakingly reimplement every single HTTP client feature, but rather to provide a unified client/server API that covers the common cases easily.
--
You received this message because you are subscribed to the Google Groups "meteor-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-core...@googlegroups.com.
To post to this group, send email to meteo...@googlegroups.com.
Visit this group at http://groups.google.com/group/meteor-core.
For more options, visit https://groups.google.com/d/optout.