I have a meteor method that makes a call to a remote api:
do_the_thing:function() {
this.unblock();
console.log("doing the thing")
HTTP.post( "http://super.rad.api",{headers: { 'Content-Type': 'application/x-www-form-urlencoded' }}, function(err,result) {
if(err) { console.log(err) }
console.log(result)
return
});
}
I can send params that allow me to fetch between 1 and MAX_RECORDS (50 in this case). When I request more than a few records at a time the response is truncated, usually mid-record. Am I missing something obvious here? I’ve tested the api call with a firefox plugin and all is groovy