Skip to content
talklittle edited this page Sep 13, 2010 · 15 revisions

• To login you need to POST to http://www.reddit.com/api/login/
• user=[username]
• passwd=[plaintext password]
• It always returns HTTP code 200 OK
• Need to read message content (single line JSON format) and if it contains string “WRONG_PASSWORD” then login failure.

POST /api/login/talklittle_test HTTP/1.1
Host: www.reddit.com
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 34

user=talklittle_test&passwd=apple1

Clone this wiki locally