window.picoAPI = function(url, params, callback){
    $.getJSON(url, params, function(data){
        if(data && data.ok === true){
            callback(null, data);
        }else{
            var err = new Error((data.error || "unknown cause") + "");
            err.data = data;
            callback(err);
        }
    }).fail(function(ajax_err){
        var err;
        if(ajax_err && ajax_err.responseJSON && ajax_err.responseJSON.error){
            err = new Error(ajax_err.responseJSON.error);
            err.data = ajax_err.responseJSON;
        }else{
            err = new Error(ajax_err.status + " " + ajax_err.statusText);
            err.data = ajax_err;
        }
        callback(err);
    });
};

@@ -53,15 +53,12 @@
   $.
-getJSON
+post
 (url
@@ -312,16 +312,23 @@
  %7D%0A    %7D
+,%22json%22
 ).fail(f

use POST for engine rulesets