title: Error when calling http method from client in meteor
body: <p>I am trying to consume a REST API in the meteor application. Inside the server.js file which is in the server folder, I have written this code:</p>
  
  <pre><code> Meteor.methods({
          checkTwitter: function () {
              this.unblock();
              return Meteor.http.call("GET", "http://search.twitter.com/search.json?q=perkytweets");
          }
      });
  </code></pre>
  
  <p>Inside the client.js file, which is in the client folder, I have written down this code:</p>
  
  <pre><code>  Meteor.call("checkTwitter", function(error, results) {
          console.log(results.content); //results.data should be a JSON object
      });
  </code></pre>
  
  <p>I get this error message in console:
  "Exception while simulating the effect of invoking 'checkTwitter' Error: Can't make a blocking HTTP call from the client; callback required".
  I have the callback function defined in client due to which I don't understand this error. What is it that I am doing wrong?</p>