Last updated May 19, 2010. Created by yajnin on July 17, 2009.
Edited by heyrocker, bertboerland. Log in to edit this page.
JavaScript - JSON Server & Request.JSON (MooTools Example)
// Modules
// // # SERVICES 6.x-2.0 and JSON SERVER 6.x-2.0-alpha1// + + Data Object
Node.Save (and edit)
http://drupal.org/node/774116
Comment.Save
http://drupal.org/node/788892// + + Services Request
var jsonRequest = new Request.JSON({
url: "http://example.com/services/json",
onSuccess: function(response){
var myDataArray = response['#data'];
// Manipulate data as necessary
}
}).send({ data: data });// #### Reference: Services & JavaScript
JavaScript - Node.Save & Edit // Cross-method Insights
http://drupal.org/node/774116
JavaScript - CCK Fields in the Node Object // Cross-method Insights
http://drupal.org/node/776122
JavaScript - Comment.Save
http://drupal.org/node/788892
JavaScript - JSON Server // Request.JSON (MooTools Example)
http://drupal.org/node/522942
JavaScript - JSON Server // Request.JSONP (MooTools Example)
http://drupal.org/node/791922