use 'http(s)://' as part of API_ROOT everywhere.