Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

MD5 hash of test not working in you API documentation...



AuthorMessage
Sytone

Posted: Aug 18, 2009
Score: 0



I had a unit test which ensure the test to md5 has worked but if you use your test form on the API page with the word test it does not match your text...

What did I miss?
haeffb

Posted: Aug 18, 2009
Score: 0



You're confusing the two tests. The first is just a test of the MD5 function with the word, "test." Once you have created the MD5 function, use it with the argument "test" to make sure your MD5 function returns the proper result.

To test your md5 function, we would expect the md5 hash of the string "test" to be 098f6bcd4621d373cade4e832627b4f6.

The second test, using the test form, is to test whether you're using your MD5 hash properly with your token, userid and password to generate a key to be used with subsequent API calls:

To help with testing, enter your token here and we'll generate the key for you with the userid and password of the account currently signed in.

Note that by userid, they mean the unique userid toodledo assigns to each user.
You cannot reply yet


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



Toodledo Forums > Developers

Contact Us | Blog | API | Jobs | Press | Documentation | Forums Privacy | Terms | Copyright © 2004-2014