ForumsDevelopersAcceptable Request Delimiters?


Acceptable Request Delimiters?
Author Message
maldworth

Posted: Nov 15, 2009
Score: 0 Reference
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
Jake

Toodledo Founder
Posted: Nov 15, 2009
Score: 0 Reference
& 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.
You cannot reply yet

U Back to topic home

R Post a reply

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