code: function submitFormData(params, cb) {
    var resourcePath = config.addURIParams("/appforms/forms/:id/submitFormData", params);
    var method = "POST";
    var data = params.submission;
  
    params.resourcePath = resourcePath;
    params.method = method;
    params.data = data;
  
    mbaasRequest.app(params, cb);
  }
docs: Making A Submisison Against A Form