Error updating a block

29 views
Skip to first unread message

Joshua

unread,
Jul 1, 2011, 2:12:58 PM7/1/11
to Springpad Developers
I'm trying to update a block using this command:

[['set', '/UUID(4c3af5f1-0cde-43ff-be18-bec5b1f608bf)/', 'name', 'this
should be working now update XXXX']]

I'm POSTing to:

https://springpadit.com/api/users/me/commands

I'm receiveing this response:

{
"status":"error",
"message":"Invalid input"
}


Does this look correct? The documentation isn't clear but I assume the
"set" command is used for updating a block.

Thanks,
Josh

Joshua

unread,
Jul 1, 2011, 3:44:34 PM7/1/11
to Springpad Developers
Resolved. The data should have double quotes and not single quotes.
Reply all
Reply to author
Forward
0 new messages