Trying to use node.save method

jipipayo - September 14, 2008 - 19:56
Project:REST Server
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have succesfully installed this great module. If i call node.load method no problems. but when i try to do a node.save method i get this error:

Invalid Method Call to node_service_save. Requires 1, 0 given.

I think it the node param, but if its a new node i dont know what value must have "node"

#1

Rob Loach - September 15, 2008 - 15:28

Node should be the array of the node you want to save, I believe.

 
 

Drupal is a registered trademark of Dries Buytaert.