services flex flash json

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

2 comments

Sr. Software Engineer | BliSS

Employment type: 
Full time
Telecommute: 
Not allowed

A Silicon Valley Web 2.0 startup is looking for entrepreneurial, seasoned software engineers – you must be a Drupal expert! We have a total of 5 openings right now. You will be based in Mumbai.

Read more
Priyascape's picture

Drupal themer | Hachette-Filipacchi Digital

Employment type: 
Full time
Employment type: 
Contract
Telecommute: 
Not allowed

The Digital team at Hachette-Filipacchi (UK) are currently running an alpha for a fun social-networking (Drupal-flash) application for teen magazine Sugar. We are actively seeking a ninja Drupal themer to help trouble shoot our Alpha by getting the theming right and the overall presentation layer as close to what has been designed.

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?

12 comments
Syndicate content