Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Acceptable Request Delimiters?



AuthorMessage
maldworth

Posted: Nov 15, 2009
Score: 0



Not sure if this is an undocumented feature, but, the examples on the developer API clearly show:

?method=getTasks;unix=1;key=0123456789abcdef0123456789abcdef

but this also worked

?method=getTasks&unix=1&key=0123456789abcdef0123456789abcdef

I had been replacing the & with ;, however I forgot to on a few calls, but I noticed they were working. Is there a preferred method you'd rather developers use? Honestly I'd prefer the &, as it saves me from having to do a String.replace(), but I don't want to use & if that functionality is going to fixed back to it's intentional design (only ;).

Thanks
Toodledo

Administrator
Posted: Nov 15, 2009
Score: 0



& and ; both work fine, and will continue to work fine. We prefer to use ; because it makes url encoding easier, but you are free to do whatever you want.


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



Toodledo Forums > Developers

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