services flex flash json

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
geraud's picture

Format of the node object in the node.save method form (in services admin interface)

I would like to test the node.save method of the "node" service in the browser of the "services" admin interface.
(/admin/build/services/browse/node.save)

In order to do that, I have to provide the form with an object that will be added to Drupal (if everything works correctly).

But I can't figure out what the format of this node-object should be (array, json,...). What is the syntax ?

Any help would be appreciated.

Cheers

Read more
snelson's picture

Service Browser Arguments - Arrays and Objects

A problem I have not found a good solution for is how to handle array and struct input in the service browser. One idea is to use JSON format, and then parse the JSON string into its PHP value, but this would require a JSON parser. The PEAR JSON parser is commonly used, but it is not GPL and I don't want people to have to dowload additional scripts.

Any ideas?

Read more
Subscribe with RSS Syndicate content