Fix api_connect (missing '?' before query string)