title: Meteor.http method is undefined on server?
body: <p>So, I'm trying to write a method that makes an http call. When I run the method, I get the following error: </p>
  
  <blockquote>
    <p>Exception while invoking method 'upload' TypeError: Cannot call method 'call' of undefined</p>
  </blockquote>
  
  <p>Here is what the code looks like:</p>
  
  <p>Client:</p>
  
  <pre><code>console.log(Meteor.call('upload', f, content));
  </code></pre>
  
  <p>Server:</p>
  
  <pre><code>Meteor.methods({
    upload: function(file, content) {
      this.unblock();
      Meteor.http.call("PUT", "http://blah");
    }
  });
  </code></pre>
  
  <p>UPDATE: Problem solved, turns out I had to enable the package: <code>meteor add http</code></p>