Removed hardcoded Trello base URL.

Also added encode-param.