I've been thinking about this for months (after implementing a wrapper around the Wikipedia API). If we simply send a http request the same way the login page does, DIC returns a cookie. Then, if we simply send that cookie anytime we want to post anything, it'll work. Send it to the index.php post url. All in all, we're simply emulating a browser.