function postSchedule(data, cb) {
  var state = store.getState();

  var postUrl = help.joinUrl(state.baseUrl, 'api/app/entry');
  request.post({
      url : postUrl,
      body : data,
      json : true,
      timeout : 2000,
      headers : {
        'App-Token' : state.appToken
      }
    },
    cb
  );
}
/**
 * POST schedule data to the server
 * @param {Array} data schedule entries
 */
POST schedule data to the server
@param {Array} data schedule entries
POST schedule data to the server @param { Array } data schedule entries
function postSchedule(data, cb) {
  var state = store.getState();
  var postUrl = help.joinUrl(state.baseUrl, 'api/app/entry');
  request.post({
      url : postUrl,
      body : data,
      json : true,
      timeout : 2000,
      headers : {
        'App-Token' : state.appToken
      }
    },
    cb
  );
}
function postSchedule ( data , cb ) { var state = store . getState ( ) ; var postUrl = help . joinUrl ( state . baseUrl , 'api/app/entry' ) ; request . post ( { url : postUrl , body : data , json : true , timeout : 2000 , headers : { 'App-Token' : state . appToken } } , cb ) ; }
POST schedule data to the server
 @param {Array} data schedule entries
POST schedule data to the server @param { Array } data schedule entries