Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

how to add task with the character " inside task's title?



AuthorMessage
trungnt2k

Posted: Jan 21, 2011
Score: 0



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

Posted: Jan 21, 2011
Score: 0



Convert your " characters to \". That did it for me.


To participate in these forums, you must be signed in.



Toodledo Forums > Developers

Contact Us | Blog | API | Help | Forums Privacy | Terms | Copyright © 2006-2012