Configuring Restivus POST method for Meteor Configuring Restivus POST method for Meteor curl curl

Configuring Restivus POST method for Meteor


You have to create a variable in the JavaScript part and use that in the Restivus.addCollection() call.

Reports = Mongo.Collection('reports')if(Meteor.isServer){    Restivus.configure({    });    //Allow Restivus to manage Reports    Restivus.addCollection(Reports);...