var ApiClient = new Class({ Extends: Request, options: { // Default option values for the base class 'headers': {'Accept':'application/json'}, 'method': 'post', 'evalScripts': false, // Setting this to true will make the Mootools Request class execute any JS it finds between