Skip to content
danmux edited this page Feb 6, 2012 · 8 revisions

Authentication is the act of proving who you are.

In Money Toolkit this is simply giving us the correct user name and password.

Remember this is a read only API, so we dont feel our authentication has to ba any more complex than that.

An Authentication via the public api is simply a POST request much like from a web page's form

Authenticate

passing a recogised username and password returns a message relating to the apropriate status code and a maximum of 30 minute token (or until memcache gets flushed)

url

https://www.moneytoolkit.com/pub/authenticate

method

POST

headers

Content-Type: application/x-www-form-urlencoded

params/body

u=danm&p=pass

response

the body returns a token in json...

{"message": "authenticated", "token": "danmeWyPfuPj"}

Clone this wiki locally