set api_url