remove trailing whitespace
add api_url param to web.login
low-level functions return list(succeeded, response)
high-level functions return list(succeeded, content)
correct copy/paste error