services javascript XMLRPC

Events happening in the community are now at Drupal community events on www.drupal.org.
kscottj's picture

Calling Services using JavaScript

I been working a PhoneGap (Android, iPhone) based mobile application. PhoneGap uses normal JavaScript so here a list of javascript libraries and where to get them you will need for the XMLRPC interface. I just hope this helps someone else it took me days to track all of this down and get it working.

  • XMLRPC (http://mimic-xmlrpc.sourceforge.net/)
  • sha HMAC (http://point-at-infinity.org/jssha256/ needed if you want to use API keys)

    Here some sample code for calling drupal with the XMLRPC interface:

        drupalSession=new drupalSessionObj();
  • Read more
    Subscribe with RSS Syndicate content