title: { [Error: failed [405] HTTP method not allowed, supported methods: POST] stack: [Getter] }
body: <p>I want to make a PredictionIO recommendation for a website built in meteor platform.
  the code is:</p>
  
  <pre><code>getUserRecommendations: function (num) {
      var userId = Meteor.userId();
      check(userId, String);
      this.unblock();
      try {
          var result = HTTP.call('GET', "http://localhost:8000/queries.json",
          { params: { "user": [userId] , "num" : 4 } });
          return result;
      } catch (e) {
          console.log(e);
          return "\n" +e;
      }
  }
  </code></pre>
  
  <p>the error comes from Meteor server:</p>
  
  <pre><code> { [Error: failed [405] HTTP method not allowed, supported methods: POST] stack: [Getter] }
  </code></pre>