ForumsDevelopershow to add task with the character " inside task's title?
how to add task with the character " inside task's title?
Author |
Message |
trungnt2k
|
Hi,
I have tried to sync a task having " character in its title, for example, 'my "test" task' and received the error "No title".
The URL is encoded like this:
http://api.toodledo.com/2/tasks/add.php?f=xml;fields=folder,star,meta;key=mykey;tasks=[{%22folder%22 %3A%22myFolderId%22%2C%22title%22%3A%22my%20%22test%22%20task%22}]
I realize that this API already uses the enclosed "" characters for its keyword 'title' as well as for the associated value in the parameter syntax, so how can I encode the nested " character in its title value?
Thanks
This message was edited Jan 21, 2011.
|
Rachel
|
Convert your " characters to \". That did it for me.
|
You cannot reply yet
U Back to topic home
R Post a reply
To participate in these forums, you must be signed in.