Posted by jdales on December 2, 2009 at 5:00pm
3 followers
Jump to:
| Project: | REST Server |
| Version: | 6.x-2.0-beta2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I'm trying to create a node by POSTing to the REST service at services/rest/node. Can you tell me what form the post data should take for a simple content type (say Story)?
Comments
#1
+1 for this, even if i am on 1.x. I will very appreciate this little help.
Array
(
[node] => Array
(
[title] => NodeTitle
[body] => NodeBody
[promote] => 1
[type] => page
)
[method] => node.save
[sessid] => SimpleXMLElement Object
(
[0] => 899e85ee75220878bd45db18962f0f2e
)
[hash] => 2165b6de6c01e0fc152a93b19b0d64b4d8d8c5071bf8018c25449407b15c089c
[domain_time_stamp] => 1265238965
[domain_name] => 192.168.6.12
[nonce] => c10431462c
)
errorNode not found
Thank you,
Ingo86
#2
+1.